Details

Time bar (total: 7.9s)

sample25.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
17910
221010
348310
491010
5151610
6281810
7500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.2b
(+ (* (+ x y) z) (* (+ t y) a))
1.4b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
26.1b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
20×add-sqr-sqrt
18×add-cube-cbrt
15×times-frac
13×distribute-lft-out
11×add-log-exp
10×associate-*l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
pow1
associate-/r*
expm1-log1p-u associate-*l* frac-add log1p-expm1-u
fma-neg associate-*r* prod-diff associate-/l*
flip3-- diff-log sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg fma-def frac-2neg div-sub div-exp pow-prod-down prod-exp associate--l+ clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 105
Calls
4 calls:
10.0ms
(* (+ x y) z)
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
40.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
80.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series771.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (+ x y) z)
51.0ms
(+ (* (+ x y) z) (* (+ t y) a))
101.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
598.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify70.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05681186
125261087
250011076

prune397.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 8.9b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
0.5b
(- (* (+ t y) a) (* y b))
1.5b
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
26.1b
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
132×times-frac
70×add-sqr-sqrt add-cube-cbrt
48×distribute-lft-out
22×associate-/r*
17×add-exp-log
11×add-cbrt-cube
div-exp associate-/l*
div-inv add-log-exp
pow1
cbrt-undiv expm1-log1p-u log1p-expm1-u
rec-exp frac-2neg 1-exp clear-num associate-/l/
sub-neg flip3-- pow-flip flip3-+ fma-neg diff-log prod-diff associate-/r/ flip-- flip-+ fma-udef inv-pow
Counts
4 → 167
Calls
4 calls:
24.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
5.0ms
(- (* (+ t y) a) (* y b))
0.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
32.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

series809.0ms

Counts
4 → 12
Calls
4 calls:
583.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
29.0ms
(- (* (+ t y) a) (* y b))
98.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
99.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

simplify64.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04962605
122282401
250022286

prune532.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 5.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ (+ x t) y))
0.5b
(- (* (+ t y) a) (* y b))
1.5b
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
26.1b
(* (/ 1 (+ (+ x t) y)) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
32×times-frac
31×add-sqr-sqrt
24×add-cube-cbrt
21×associate-*l* distribute-lft-out
17×add-exp-log
11×add-cbrt-cube
pow1
add-log-exp
associate-/r*
expm1-log1p-u div-exp prod-exp associate-/r/ log1p-expm1-u
associate-*r* fma-udef associate-/l* unswap-sqr
cbrt-undiv rec-exp flip3-+ 1-exp cbrt-unprod flip-+ div-inv
distribute-rgt-in sub-neg flip3-- pow-flip frac-2neg distribute-lft-in fma-neg diff-log prod-diff pow-prod-down associate-*l/ clear-num *-commutative flip-- inv-pow
Counts
4 → 116
Calls
4 calls:
17.0ms
(/ 1 (+ (+ x t) y))
5.0ms
(- (* (+ t y) a) (* y b))
0.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
42.0ms
(* (/ 1 (+ (+ x t) y)) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

series733.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ 1 (+ (+ x t) y))
31.0ms
(- (* (+ t y) a) (* y b))
94.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
557.0ms
(* (/ 1 (+ (+ x t) y)) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

simplify48.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03971050
11754922
25003881

prune311.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 5.2b

localize22.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
1.2b
(+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a))
1.4b
(- (+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a)) (* y b))
26.1b
(/ (- (+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
17×add-sqr-sqrt add-cube-cbrt
15×times-frac
12×associate-*l/ distribute-lft-out
11×add-log-exp
add-exp-log flip3-+ add-cbrt-cube flip-+
associate-/r*
pow1 expm1-log1p-u frac-add log1p-expm1-u
cbrt-prod fma-neg prod-diff associate-/l*
flip3-- diff-log sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg fma-def frac-2neg pow1/3 div-sub div-exp associate--l+ clear-num div-inv
Counts
4 → 95
Calls
4 calls:
0.0ms
(cbrt z)
38.0ms
(+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a))
410.0ms
(- (+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a)) (* y b))
705.0ms
(/ (- (+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series1.1s

Counts
4 → 12
Calls
4 calls:
174.0ms
(cbrt z)
98.0ms
(+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a))
159.0ms
(- (+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a)) (* y b))
628.0ms
(/ (- (+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify70.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05611706
125451557
250011407

prune337.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 5.2b

regimes523.0ms

Accuracy

84.3% (3.5b remaining)

Error of 7.9b against oracle of 4.5b and baseline of 26.4b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04332
14332

end0.0ms

sample599.0ms

Algorithm
intervals
Results
340.0ms7998×body80valid
0.0msbody320valid
0.0msbody160valid