Details

Time bar (total: 5.7s)

sample26.0ms

Algorithm
intervals
Results
12.0ms256×body80valid

simplify90.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: 24.7b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.3b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
1.7b
(+ (* (+ x y) z) (* (+ t y) a))
23.2b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite147.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)
42.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
86.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series841.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (+ x y) z)
110.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
58.0ms
(+ (* (+ x y) z) (* (+ t y) a))
649.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify83.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
05681186
125261087
250031076

prune666.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 6.7b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(fma x z (* z y))
1.3b
(- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b))
1.7b
(+ (fma x z (* z y)) (* (+ t y) a))
23.2b
(/ (- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite66.0ms

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

series462.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(fma x z (* z y))
113.0ms
(- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b))
60.0ms
(+ (fma x z (* z y)) (* (+ t y) a))
253.0ms
(/ (- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify63.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
03681067
11651987
25001975

prune344.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 6.7b

localize21.0ms

Local error

Found 4 expressions with local error:

0.5b
(fma x z (* z y))
1.3b
(- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b))
1.7b
(+ (fma x z (* z y)) (* (+ t y) a))
23.3b
(/ (+ (+ x t) y) (- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b)))

rewrite64.0ms

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

series312.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(fma x z (* z y))
109.0ms
(- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b))
57.0ms
(+ (fma x z (* z y)) (* (+ t y) a))
109.0ms
(/ (+ (+ x t) y) (- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b)))

simplify58.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
03481066
11538987
25003979

prune349.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 6.7b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(fma x z (* z y))
1.3b
(- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b))
1.7b
(+ (fma x z (* z y)) (* (+ t y) a))
23.3b
(* (- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
24×add-sqr-sqrt
21×associate-*r*
17×add-cube-cbrt times-frac
13×add-exp-log
11×add-log-exp
add-cbrt-cube distribute-lft-out
pow1
expm1-log1p-u prod-exp log1p-expm1-u
flip3-- fma-def fma-neg associate-*l* prod-diff flip-- unswap-sqr
frac-times flip3-+ diff-log div-exp associate-*l/ sum-log associate-/r/ cbrt-unprod flip-+ fma-udef
cbrt-undiv +-commutative sub-neg rec-exp associate-+l+ 1-exp associate-*r/ pow-prod-down associate--l+ un-div-inv *-commutative div-inv
Counts
4 → 99
Calls
4 calls:
0.0ms
(fma x z (* z y))
15.0ms
(- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b))
3.0ms
(+ (fma x z (* z y)) (* (+ t y) a))
75.0ms
(* (- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

series446.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(fma x z (* z y))
108.0ms
(- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b))
54.0ms
(+ (fma x z (* z y)) (* (+ t y) a))
247.0ms
(* (- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

simplify76.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
04511109
12290979
25003949

prune349.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 6.7b

regimes372.0ms

Accuracy

20.4% (14.9b remaining)

Error of 22.9b against oracle of 8.0b and baseline of 26.7b

bsearch84.0ms

Steps
ItersRangePoint
6
4.844697871524781e+160
6.760837018056753e+161
3.3049763982427626e+161
8
-1.3897823342662704e+160
-4.3432235689597726e+157
-2.7556754271139724e+158

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03210
13210

end0.0ms

sample644.0ms

Algorithm
intervals
Results
376.0ms7997×body80valid
0.0msbody320valid
0.0msbody160valid