Details

Time bar (total: 6.6s)

sample30.0ms

Algorithm
intervals
Results
15.0ms256×body80valid

simplify107.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.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

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
1.6b
(+ (* (+ x y) z) (* (+ t y) a))
2.2b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
26.2b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite142.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:
12.0ms
(* (+ t y) a)
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
38.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
83.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series835.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (+ t y) a)
51.0ms
(+ (* (+ x y) z) (* (+ t y) a))
106.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
656.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify84.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05641186
125091087
250021077

prune440.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 10.4b

localize19.0ms

Local error

Found 3 expressions with local error:

1.0b
(fma y (- a b) (* a t))
2.0b
(+ (* (+ x y) z) (fma y (- a b) (* a t)))
26.2b
(/ (+ (* (+ x y) z) (fma y (- a b) (* a t))) (+ (+ x t) y))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
15×times-frac
13×add-sqr-sqrt add-cube-cbrt
12×distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube add-log-exp
pow1 expm1-log1p-u flip3-+ flip-+ log1p-expm1-u associate-/l*
associate-/r/ fma-udef associate-/l/
cbrt-undiv +-commutative associate-+r+ fma-def frac-2neg div-exp clear-num sum-log div-inv
Counts
3 → 66
Calls
3 calls:
0.0ms
(fma y (- a b) (* a t))
5.0ms
(+ (* (+ x y) z) (fma y (- a b) (* a t)))
29.0ms
(/ (+ (* (+ x y) z) (fma y (- a b) (* a t))) (+ (+ x t) y))

series421.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(fma y (- a b) (* a t))
108.0ms
(+ (* (+ x y) z) (fma y (- a b) (* a t)))
279.0ms
(/ (+ (* (+ x y) z) (fma y (- a b) (* a t))) (+ (+ x t) y))

simplify43.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0257793
1937736
25001736

prune258.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 10.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ (+ x t) y))
1.0b
(fma y (- a b) (* a t))
2.0b
(+ (* (+ x y) z) (fma y (- a b) (* a t)))
26.2b
(* (+ (* (+ x y) z) (fma y (- a b) (* a t))) (/ 1 (+ (+ x t) y)))

rewrite87.0ms

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

series515.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(/ 1 (+ (+ x t) y))
40.0ms
(fma y (- a b) (* a t))
123.0ms
(+ (* (+ x y) z) (fma y (- a b) (* a t)))
285.0ms
(* (+ (* (+ x y) z) (fma y (- a b) (* a t))) (/ 1 (+ (+ x t) y)))

simplify66.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
03801050
11673925
25003875

prune414.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 10.4b

localize23.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.3b
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
1.7b
(- (* (+ t y) a) (* y b))
26.2b
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

rewrite68.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:
21.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
0.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
6.0ms
(- (* (+ t y) a) (* y b))
33.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

series937.0ms

Counts
4 → 12
Calls
4 calls:
654.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
121.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
33.0ms
(- (* (+ t y) a) (* y b))
129.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

simplify84.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04962605
122282401
250022286

prune438.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 5.0b

regimes607.0ms

Accuracy

49.4% (11.4b remaining)

Error of 16.0b against oracle of 4.6b and baseline of 27.1b

bsearch229.0ms

Steps
ItersRangePoint
7
1.2927464493965476e+42
1.2368034649258586e+44
1.1685265508795281e+44
9
1.8698515406784921e-88
1.56037796305268e-83
1.8899870319995665e-88
8
1.236282004049312e-101
1.1240443505265923e-97
1.168556559047249e-98
7
-1.5469128537712558e+88
-1.8722682592897245e+86
-2.0925390482027694e+87

simplify7.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 2 (2.0ms)

IterNodesCost
04426
14926
25511
35811
46411
57511
68211
78311
88311

end0.0ms

sample687.0ms

Algorithm
intervals
Results
393.0ms7995×body80valid
0.0msbody160valid
0.0msbody1280valid
0.0msbody320valid