Details

Time bar (total: 3.6s)

sample31.0ms

Algorithm
intervals
Results
13.0ms391×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0267
1576
2956
31166
41186
51186

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ t (* z b))
0.0b
(+ x (* a (+ t (* z b))))
0.0b
(+ (* y z) (+ x (* a (+ t (* z b)))))
1.5b
(* a (+ t (* z b)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
sum-log
flip3-+ flip-+
+-commutative associate-+r+ associate-*r* associate-*l*
distribute-rgt-in distribute-lft-in associate-*r/
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 59
Calls
4 calls:
2.0ms
(+ t (* z b))
2.0ms
(+ x (* a (+ t (* z b))))
7.0ms
(+ (* y z) (+ x (* a (+ t (* z b)))))
7.0ms
(* a (+ t (* z b)))

series227.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ t (* z b))
61.0ms
(+ x (* a (+ t (* z b))))
83.0ms
(+ (* y z) (+ x (* a (+ t (* z b)))))
55.0ms
(* a (+ t (* z b)))

simplify41.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0325392
11353363
25001363

prune176.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ t (* z b))) (cbrt (+ t (* z b))))
2.0b
(cbrt (+ t (* z b)))
2.0b
(cbrt (+ t (* z b)))
2.0b
(cbrt (+ t (* z b)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
14.0ms
(* (cbrt (+ t (* z b))) (cbrt (+ t (* z b))))
2.0ms
(cbrt (+ t (* z b)))
2.0ms
(cbrt (+ t (* z b)))
2.0ms
(cbrt (+ t (* z b)))

series439.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(* (cbrt (+ t (* z b))) (cbrt (+ t (* z b))))
116.0ms
(cbrt (+ t (* z b)))
119.0ms
(cbrt (+ t (* z b)))
107.0ms
(cbrt (+ t (* z b)))

simplify132.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (123.0ms)

IterNodesCost
0303872
11042820
24602751
35001740

prune352.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
0.0b
(+ x (* y z))
0.0b
(+ (+ x (* y z)) (* t a))
5.2b
(* (* a z) b)

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
20×add-log-exp
10×sum-log
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
+-commutative flip3-+ associate-*r* pow-prod-down prod-exp cbrt-unprod flip-+
associate-+l+
associate-*l* *-commutative
Counts
4 → 56
Calls
4 calls:
38.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
2.0ms
(+ x (* y z))
9.0ms
(+ (+ x (* y z)) (* t a))
6.0ms
(* (* a z) b)

series183.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
23.0ms
(+ x (* y z))
44.0ms
(+ (+ x (* y z)) (* t a))
25.0ms
(* (* a z) b)

simplify49.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0335378
11670347
25002342

prune175.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* y z) (* y z))
2.8b
(- (* x x) (* (* y z) (* y z)))
5.2b
(* (* a z) b)
25.8b
(/ (- (* x x) (* (* y z) (* y z))) (- x (* y z)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
48×pow1
23×add-exp-log add-cbrt-cube
20×pow-prod-down
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac
11×prod-exp cbrt-unprod
add-log-exp
difference-of-squares
associate-*r* pow-sqr pow-prod-up associate-/l*
flip3-- associate-/r* flip--
pow-plus associate-*l* associate-/r/ *-commutative associate-/l/
cbrt-undiv pow2 sub-neg frac-2neg diff-log div-sub swap-sqr div-exp clear-num div-inv
Counts
4 → 101
Calls
4 calls:
9.0ms
(* (* y z) (* y z))
3.0ms
(- (* x x) (* (* y z) (* y z)))
6.0ms
(* (* a z) b)
10.0ms
(/ (- (* x x) (* (* y z) (* y z))) (- x (* y z)))

series202.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (* y z) (* y z))
79.0ms
(- (* x x) (* (* y z) (* y z)))
26.0ms
(* (* a z) b)
67.0ms
(/ (- (* x x) (* (* y z) (* y z))) (- x (* y z)))

simplify73.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0422744
12262630
25001617

prune245.0ms

Pruning

8 alts after pruning (4 fresh and 4 done)

Merged error: 0.0b

regimes285.0ms

Accuracy

89.1% (0.3b remaining)

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

bsearch2.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03927
13927

end0.0ms

sample829.0ms

Algorithm
intervals
Results
417.0ms11857×body80valid