Details

Time bar (total: 2.0s)

sample15.0ms

Algorithm
intervals
Results
6.0ms310×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1243
2463
3713
4793
5793

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.8b

localize5.0ms

Local error

Found 1 expressions with local error:

4.6b
(* x (- 1.0 (* y z)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
7.0ms
(* x (- 1.0 (* y z)))

series50.0ms

Counts
1 → 3
Calls
1 calls:
49.0ms
(* x (- 1.0 (* y z)))

simplify56.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0122127
1493111
21989111
35001111

prune62.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.7b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* y z))))
7.3b
(* x (- (* y z)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l* distribute-rgt-neg-out
+-commutative distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* x (- (* y z))))
5.0ms
(* x (- (* y z)))

series85.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(+ (* x 1.0) (* x (- (* y z))))
26.0ms
(* x (- (* y z)))

simplify46.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0181204
11018178
25001174

prune104.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x (- y)) z))
5.7b
(* (* x (- y)) z)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
distribute-lft-neg-out add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp distribute-rgt-neg-out cbrt-unprod
+-commutative flip3-+ associate-*l* unsub-neg sum-log *-commutative flip-+
Counts
2 → 32
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* (* x (- y)) z))
9.0ms
(* (* x (- y)) z)

series85.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(+ (* x 1.0) (* (* x (- y)) z))
26.0ms
(* (* x (- y)) z)

simplify39.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0203197
1955172
25001160

prune84.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

1.6b
(* x (* (cbrt (- (* y z))) (cbrt (- (* y z)))))
13.9b
(cbrt (- (* y z)))
13.9b
(cbrt (- (* y z)))
13.9b
(cbrt (- (* y z)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod
pow1 add-exp-log add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
add-log-exp
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in pow1/3 associate-*l* pow-prod-down prod-exp cbrt-unprod
associate-*r* *-commutative unswap-sqr
Counts
4 → 61
Calls
4 calls:
14.0ms
(* x (* (cbrt (- (* y z))) (cbrt (- (* y z)))))
1.0ms
(cbrt (- (* y z)))
1.0ms
(cbrt (- (* y z)))
1.0ms
(cbrt (- (* y z)))

series444.0ms

Counts
4 → 12
Calls
4 calls:
162.0ms
(* x (* (cbrt (- (* y z))) (cbrt (- (* y z)))))
94.0ms
(cbrt (- (* y z)))
93.0ms
(cbrt (- (* y z)))
93.0ms
(cbrt (- (* y z)))

simplify63.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0243521
1664462
22418421
35001421

prune234.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes157.0ms

Accuracy

97% (0.1b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03612
14912
25312
35312

end0.0ms

sample378.0ms

Algorithm
intervals
Results
187.0ms9670×body80valid