Details

Time bar (total: 2.2s)

sample14.0ms

Algorithm
intervals
Results
6.0ms308×body80valid

simplify10.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: 3.4b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 1.0 (* y z))
3.2b
(* x (- 1.0 (* y z)))

rewrite10.0ms

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

series72.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(- 1.0 (* y z))
50.0ms
(* x (- 1.0 (* y z)))

simplify58.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0143187
1560166
22091166
35003166

prune84.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 3.2b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* y z))))
5.6b
(* 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))))
4.0ms
(* x (- (* y z)))

series82.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0181204
11018178
25001174

prune96.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

2.1b
(* x (* (cbrt (- (* y z))) (cbrt (- (* y z)))))
11.7b
(cbrt (- (* y z)))
11.7b
(cbrt (- (* y z)))
11.7b
(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)))

series451.0ms

Counts
4 → 12
Calls
4 calls:
163.0ms
(* x (* (cbrt (- (* y z))) (cbrt (- (* y z)))))
98.0ms
(cbrt (- (* y z)))
95.0ms
(cbrt (- (* y z)))
95.0ms
(cbrt (- (* y z)))

simplify67.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0243521
1664462
22418421
35001421

prune220.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

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

series82.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0239220
11295193
25001183

prune260.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 0b

regimes206.0ms

Accuracy

87.5% (0.5b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03612
14612
25212
35212

end0.0ms

sample373.0ms

Algorithm
intervals
Results
195.0ms9591×body80valid