Details

Time bar (total: 2.4s)

sample27.0ms

Algorithm
intervals
Results
11.0ms377×body80valid

simplify86.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0256
1695
21954
34614
49694
517604
624554
732584
834514
934514

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* d1 d2) (* d1 d3))
0.0b
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
0.0b
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
diff-log
add-sqr-sqrt sum-log
pow1 add-exp-log add-cube-cbrt sub-neg *-un-lft-identity add-cbrt-cube
associate-+l- associate-+l+ flip3-- flip--
+-commutative associate--l- flip3-+ associate--l+ flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 45
Calls
3 calls:
8.0ms
(- (* d1 d2) (* d1 d3))
139.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
28.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

series132.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(- (* d1 d2) (* d1 d3))
56.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
39.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

simplify37.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0256378
11060326
25001293

prune111.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(* d1 (+ (- d2 d3) (- d4 d1)))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
associate-*r*
associate-*r/
add-sqr-sqrt
flip3-- frac-add flip-- distribute-lft-out distribute-lft-out--
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ add-log-exp unswap-sqr
Counts
1 → 30
Calls
1 calls:
109.0ms
(* d1 (+ (- d2 d3) (- d4 d1)))

series50.0ms

Counts
1 → 3
Calls
1 calls:
50.0ms
(* d1 (+ (- d2 d3) (- d4 d1)))

simplify43.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0298214
11486191
25003191

prune63.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ (* (pow d1 2) (- (* d2 d2) (* d3 d3))) (* d1 (+ d2 d3))) (* d4 d1))
2.3b
(- (* d2 d2) (* d3 d3))
18.6b
(* (pow d1 2) (- (* d2 d2) (* d3 d3)))
24.9b
(/ (* (pow d1 2) (- (* d2 d2) (* d3 d3))) (* d1 (+ d2 d3)))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
33×add-exp-log
18×add-cbrt-cube
13×add-sqr-sqrt prod-exp
div-exp associate-*l* add-log-exp
add-cube-cbrt *-un-lft-identity
associate-*r/
cbrt-unprod
pow1 cbrt-undiv unpow-prod-down associate-*r* unswap-sqr
pow-to-exp sub-neg flip3-- pow-exp flip--
distribute-rgt-in distribute-lft-in flip3-+ associate-/r/ flip-+ associate-/l/ unpow2 difference-of-squares sqr-pow
+-commutative frac-2neg times-frac diff-log clear-num associate-/r* sum-log *-commutative div-inv associate-/l*
Counts
4 → 87
Calls
4 calls:
34.0ms
(+ (/ (* (pow d1 2) (- (* d2 d2) (* d3 d3))) (* d1 (+ d2 d3))) (* d4 d1))
8.0ms
(- (* d2 d2) (* d3 d3))
31.0ms
(* (pow d1 2) (- (* d2 d2) (* d3 d3)))
31.0ms
(/ (* (pow d1 2) (- (* d2 d2) (* d3 d3))) (* d1 (+ d2 d3)))

series266.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(+ (/ (* (pow d1 2) (- (* d2 d2) (* d3 d3))) (* d1 (+ d2 d3))) (* d4 d1))
31.0ms
(- (* d2 d2) (* d3 d3))
73.0ms
(* (pow d1 2) (- (* d2 d2) (* d3 d3)))
76.0ms
(/ (* (pow d1 2) (- (* d2 d2) (* d3 d3))) (* d1 (+ d2 d3)))

simplify87.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0501876
12954740
25001740

prune233.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes94.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample761.0ms

Algorithm
intervals
Results
359.0ms11803×body80valid