Details

Time bar (total: 3.8s)

sample29.0ms

Algorithm
intervals
Results
13.0ms346×body80valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0266
1896
22776
37356
414366
517146
617306
717306

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (* z 9.0) t)
0.3b
(- (* x y) (* (* z 9.0) t))
6.7b
(/ (- (* x y) (* (* z 9.0) t)) (* a 2.0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
13×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
prod-exp cbrt-unprod
times-frac associate-*r* pow-prod-down associate-/l*
cbrt-undiv flip3-- div-exp flip-- associate-/l/
sub-neg frac-2neg diff-log div-sub associate-*l* clear-num associate-/r* *-commutative div-inv
Counts
3 → 54
Calls
3 calls:
6.0ms
(* (* z 9.0) t)
2.0ms
(- (* x y) (* (* z 9.0) t))
8.0ms
(/ (- (* x y) (* (* z 9.0) t)) (* a 2.0))

series137.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(* (* z 9.0) t)
54.0ms
(- (* x y) (* (* z 9.0) t))
66.0ms
(/ (- (* x y) (* (* z 9.0) t)) (* a 2.0))

simplify44.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0326399
11408341
25002341

prune159.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 0.5 (/ (* x y) a)) (* 4.5 (/ (* t z) a)))
0.3b
(* 4.5 (/ (* t z) a))
5.4b
(/ (* t z) a)
5.5b
(/ (* x y) a)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log add-cbrt-cube
13×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
times-frac
associate-*r*
pow1 cbrt-undiv div-exp prod-exp associate-/r* cbrt-unprod add-log-exp
associate-*r/
associate-*l* div-inv
frac-2neg clear-num associate-/l*
sub-neg flip3-- diff-log pow-prod-down *-commutative frac-sub flip-- sub-div unswap-sqr
Counts
4 → 83
Calls
4 calls:
9.0ms
(- (* 0.5 (/ (* x y) a)) (* 4.5 (/ (* t z) a)))
8.0ms
(* 4.5 (/ (* t z) a))
3.0ms
(/ (* t z) a)
3.0ms
(/ (* x y) a)

series173.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(- (* 0.5 (/ (* x y) a)) (* 4.5 (/ (* t z) a)))
27.0ms
(* 4.5 (/ (* t z) a))
19.0ms
(/ (* t z) a)
19.0ms
(/ (* x y) a)

simplify53.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0381486
11921419
25001419

prune227.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.3b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 0.5 (/ (* x y) a))
0.0b
(- (* 0.5 (/ (* x y) a)) (* (* t 4.5) (/ z a)))
4.9b
(* (* t 4.5) (/ z a))
5.5b
(/ (* x y) a)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
30×add-exp-log add-cbrt-cube
20×associate-*r*
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
15×times-frac
11×pow1 prod-exp cbrt-unprod
cbrt-undiv associate-*r/ div-exp add-log-exp
associate-*l* pow-prod-down
associate-/r* div-inv
*-commutative
sub-neg flip3-- frac-2neg diff-log clear-num frac-sub flip-- associate-/l* sub-div unswap-sqr
Counts
4 → 95
Calls
4 calls:
8.0ms
(* 0.5 (/ (* x y) a))
7.0ms
(- (* 0.5 (/ (* x y) a)) (* (* t 4.5) (/ z a)))
10.0ms
(* (* t 4.5) (/ z a))
3.0ms
(/ (* x y) a)

series182.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* 0.5 (/ (* x y) a))
106.0ms
(- (* 0.5 (/ (* x y) a)) (* (* t 4.5) (/ z a)))
27.0ms
(* (* t 4.5) (/ z a))
22.0ms
(/ (* x y) a)

simplify69.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0490572
12600492
25001492

prune244.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
2.6b
(* (* t (* 4.5 (* (cbrt z) (cbrt z)))) (/ (cbrt z) a))
5.5b
(/ (* x y) a)

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
41×add-exp-log
33×add-cbrt-cube
22×associate-*r*
21×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac prod-exp cbrt-unprod
18×pow1
15×cbrt-prod
10×pow-prod-down
cbrt-undiv div-exp
add-log-exp
associate-/r*
pow1/3 div-inv
frac-2neg associate-*r/ associate-*l* clear-num *-commutative associate-/l*
Counts
4 → 95
Calls
4 calls:
0.0ms
(cbrt z)
1.0ms
(cbrt z)
106.0ms
(* (* t (* 4.5 (* (cbrt z) (cbrt z)))) (/ (cbrt z) a))
3.0ms
(/ (* x y) a)

series421.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(cbrt z)
171.0ms
(cbrt z)
53.0ms
(* (* t (* 4.5 (* (cbrt z) (cbrt z)))) (/ (cbrt z) a))
19.0ms
(/ (* x y) a)

simplify83.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
0533765
13022567
25001513

prune305.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes562.0ms

Accuracy

87.5% (0.9b remaining)

Error of 0.9b against oracle of 0.0b and baseline of 7.0b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04422
14422

end0.0ms

sample779.0ms

Algorithm
intervals
Results
416.0ms11240×body80valid