Details

Time bar (total: 2.9s)

sample18.0ms

Algorithm
intervals
Results
7.0ms333×body80valid

simplify30.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0134
1204
2344
3494
4574
5694
6904
71274
81764
93044
104394
114494
124494

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*r*
associate-*l/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 33
Calls
2 calls:
4.0ms
(+ (* x y) (* (- 1.0 x) z))
6.0ms
(* (- 1.0 x) z)

series65.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0185183
1776166
24093166
35001166

prune66.0ms

Filtered
39 candidates to 28 candidates (71.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New36339
Fresh000
Picked011
Done000
Total36440

Merged error: 0b

Counts
40 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* (- 1.0 x) z)) (cbrt (* (- 1.0 x) z)))
0.5b
(cbrt (* (- 1.0 x) z))
0.5b
(cbrt (* (- 1.0 x) z))
0.5b
(cbrt (* (- 1.0 x) z))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*l/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-- pow1/3 flip--
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
associate-*r/ pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
7.0ms
(* (cbrt (* (- 1.0 x) z)) (cbrt (* (- 1.0 x) z)))
5.0ms
(cbrt (* (- 1.0 x) z))
5.0ms
(cbrt (* (- 1.0 x) z))
5.0ms
(cbrt (* (- 1.0 x) z))

series410.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(* (cbrt (* (- 1.0 x) z)) (cbrt (* (- 1.0 x) z)))
95.0ms
(cbrt (* (- 1.0 x) z))
94.0ms
(cbrt (* (- 1.0 x) z))
96.0ms
(cbrt (* (- 1.0 x) z))

simplify42.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0366875
11163822
25001760

prune249.0ms

Filtered
84 candidates to 67 candidates (79.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New84084
Fresh022
Picked011
Done011
Total84488

Merged error: 0b

Counts
88 → 4

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x y) (/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x)))
4.7b
(* (- (* 1.0 1.0) (* x x)) z)
7.4b
(/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 add-log-exp
times-frac associate-*l* associate-*l/ associate-/r*
associate-*r*
cbrt-undiv flip3-- flip3-+ div-exp prod-exp associate-/r/ flip-- cbrt-unprod flip-+ associate-/l/ distribute-lft-out
+-commutative frac-2neg pow-prod-down clear-num sum-log *-commutative div-inv associate-/l* difference-of-squares unswap-sqr
Counts
3 → 59
Calls
3 calls:
7.0ms
(+ (* x y) (/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x)))
6.0ms
(* (- (* 1.0 1.0) (* x x)) z)
9.0ms
(/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x))

series141.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(+ (* x y) (/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x)))
41.0ms
(* (- (* 1.0 1.0) (* x x)) z)
52.0ms
(/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x))

simplify56.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0368530
11781465
25002456

prune114.0ms

Filtered
68 candidates to 48 candidates (70.6%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New68068
Fresh011
Picked011
Done022
Total68472

Merged error: 0b

Counts
72 → 4

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* x y) (* x y))
1.2b
(+ (* (* (- 1.0 x) z) (- (* (- 1.0 x) z) (* x y))) (* (* x y) (* x y)))
3.1b
(+ (pow (* x y) 3) (pow (* (- 1.0 x) z) 3))
41.0b
(/ (+ (pow (* x y) 3) (pow (* (- 1.0 x) z) 3)) (+ (* (* (- 1.0 x) z) (- (* (- 1.0 x) z) (* x y))) (* (* x y) (* x y))))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
43×pow1
24×*-un-lft-identity
18×add-exp-log add-cbrt-cube
17×pow-prod-down
15×times-frac
14×add-sqr-sqrt add-cube-cbrt
prod-exp cbrt-unprod add-log-exp
sum-cubes distribute-lft-out associate-/l*
associate-+l+ flip3-+ pow-sqr pow-prod-up flip-+
associate-/r*
+-commutative distribute-rgt-in sub-neg distribute-lft-in pow-plus sum-log associate-/r/ associate-/l/
cbrt-undiv pow2 frac-2neg swap-sqr div-exp associate-*r* associate-*l* clear-num *-commutative div-inv
Counts
4 → 101
Calls
4 calls:
6.0ms
(* (* x y) (* x y))
15.0ms
(+ (* (* (- 1.0 x) z) (- (* (- 1.0 x) z) (* x y))) (* (* x y) (* x y)))
7.0ms
(+ (pow (* x y) 3) (pow (* (- 1.0 x) z) 3))
24.0ms
(/ (+ (pow (* x y) 3) (pow (* (- 1.0 x) z) 3)) (+ (* (* (- 1.0 x) z) (- (* (- 1.0 x) z) (* x y))) (* (* x y) (* x y))))

series560.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (* x y) (* x y))
106.0ms
(+ (* (* (- 1.0 x) z) (- (* (- 1.0 x) z) (* x y))) (* (* x y) (* x y)))
152.0ms
(+ (pow (* x y) 3) (pow (* (- 1.0 x) z) 3))
270.0ms
(/ (+ (pow (* x y) 3) (pow (* (- 1.0 x) z) 3)) (+ (* (* (- 1.0 x) z) (- (* (- 1.0 x) z) (* x y))) (* (* x y) (* x y))))

simplify105.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
04831648
125361515
250021510

prune241.0ms

Filtered
113 candidates to 68 candidates (60.2%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1130113
Fresh000
Picked011
Done033
Total1134117

Merged error: 0b

Counts
117 → 4

regimes81.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
0114
1114

end0.0ms

sample437.0ms

Algorithm
intervals
Results
235.0ms10089×body80valid