Details

Time bar (total: 5.9s)

sample27.0ms

Algorithm
intervals
Results
13.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
0.9b
(+ (* (+ x y) z) (* (+ t y) a))
1.6b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
24.9b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite148.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
(* (+ x y) z)
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
41.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
85.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series767.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (+ x y) z)
52.0ms
(+ (* (+ x y) z) (* (+ t y) a))
100.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
595.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify72.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05681186
125261087
250011076

prune422.0ms

Filtered
117 candidates to 93 candidates (79.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 8.9b

localize13.0ms

Local error

Found 3 expressions with local error:

0.8b
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
1.3b
(- (* (+ t y) a) (* y b))
24.9b
(/ (fma z (+ x y) (- (* (+ t y) a) (* y b))) (+ (+ x t) y))

rewrite27.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 log1p-expm1-u associate-/l*
associate-/r/
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ fma-neg diff-log div-exp prod-diff clear-num flip-- flip-+ fma-udef div-inv
Counts
3 → 65
Calls
3 calls:
0.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
6.0ms
(- (* (+ t y) a) (* y b))
19.0ms
(/ (fma z (+ x y) (- (* (+ t y) a) (* y b))) (+ (+ x t) y))

series554.0ms

Counts
3 → 9
Calls
3 calls:
101.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
35.0ms
(- (* (+ t y) a) (* y b))
419.0ms
(/ (fma z (+ x y) (- (* (+ t y) a) (* y b))) (+ (+ x t) y))

simplify106.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0257781
1940719
24451713
35001709

prune229.0ms

Filtered
74 candidates to 51 candidates (68.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 8.9b

localize14.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.8b
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
1.3b
(- (* (+ t y) a) (* y b))
25.0b
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

rewrite76.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:
23.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))
39.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

series844.0ms

Counts
4 → 12
Calls
4 calls:
608.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
99.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
33.0ms
(- (* (+ t y) a) (* y b))
103.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

simplify75.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04962605
122282401
250022286

prune404.0ms

Filtered
179 candidates to 93 candidates (52.0%)
Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 4.3b

localize20.0ms

Local error

Found 4 expressions with local error:

0.8b
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
1.0b
(/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b))))
1.3b
(- (* (+ t y) a) (* y b))
23.9b
(* (+ (+ x t) y) (/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b)))))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
26×*-un-lft-identity
20×add-cube-cbrt times-frac
17×add-exp-log
13×associate-*r*
11×add-cbrt-cube
pow1
add-log-exp
associate-*l*
expm1-log1p-u div-exp prod-exp log1p-expm1-u
associate-/r* distribute-lft-out associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp flip3-+ 1-exp associate-*l/ cbrt-unprod flip-+ div-inv
sub-neg flip3-- pow-flip frac-2neg fma-neg diff-log associate-*r/ prod-diff pow-prod-down clear-num un-div-inv *-commutative flip-- fma-udef inv-pow
Counts
4 → 103
Calls
4 calls:
0.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
2.0ms
(/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b))))
6.0ms
(- (* (+ t y) a) (* y b))
49.0ms
(* (+ (+ x t) y) (/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b)))))

series295.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03861147
118661013
25001981

prune309.0ms

Filtered
115 candidates to 76 candidates (66.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 4.3b

regimes597.0ms

Accuracy

48.5% (11.4b remaining)

Error of 15.9b against oracle of 4.4b and baseline of 26.6b

bsearch107.0ms

Steps
ItersRangePoint
8
5.2862887169742935e+59
2.531505514381809e+64
6.78575903187901e+62
10
-1.446365618246909e+47
-1.9163866170106e+28
-9.69669968916304e+45

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03712
13712

end0.0ms

sample614.0ms

Algorithm
intervals
Results
350.0ms7996×body80valid
0.0msbody640valid
0.0msbody1280valid
0.0msbody160valid