Details

Time bar (total: 2.7s)

sample18.0ms

Algorithm
intervals
Results
8.0ms293×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1243
2463
3713
4793
5793

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.6b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite16.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:
16.0ms
(* x (- 1.0 (* y z)))

series53.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0122127
1493111
21989111
35001111

prune51.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 2.5b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.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:
8.0ms
(+ (* x 1.0) (* x (- (* y z))))
11.0ms
(* x (- (* y z)))

series89.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0181204
11018178
25001174

prune93.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

5.4b
(* x (- (* y z)))
13.6b
(cbrt (* x (- (* y z))))
13.6b
(cbrt (* x (- (* y z))))
13.6b
(cbrt (* x (- (* y z))))

rewrite31.0ms

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

series352.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* x (- (* y z)))
113.0ms
(cbrt (* x (- (* y z))))
105.0ms
(cbrt (* x (- (* y z))))
107.0ms
(cbrt (* x (- (* y z))))

simplify148.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0187354
1787317
24602308
35002308

prune223.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

1.8b
(* x (* (cbrt (- (* y z))) (cbrt (- (* y z)))))
11.8b
(cbrt (- (* y z)))
11.8b
(cbrt (- (* y z)))
11.8b
(cbrt (- (* y z)))

rewrite44.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:
37.0ms
(* x (* (cbrt (- (* y z))) (cbrt (- (* y z)))))
2.0ms
(cbrt (- (* y z)))
2.0ms
(cbrt (- (* y z)))
2.0ms
(cbrt (- (* y z)))

series494.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(* x (* (cbrt (- (* y z))) (cbrt (- (* y z)))))
112.0ms
(cbrt (- (* y z)))
98.0ms
(cbrt (- (* y z)))
101.0ms
(cbrt (- (* y z)))

simplify68.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0243521
1664462
22418421
35001421

prune215.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes178.0ms

Accuracy

97.4% (0.1b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03612
14912
25312
35312

end0.0ms

sample433.0ms

Algorithm
intervals
Results
178.0ms9555×body80valid