Details

Time bar (total: 7.2s)

sample53.0ms

Algorithm
intervals
Results
37.0ms256×body80valid

simplify98.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
03310
17910
221010
348310
491010
5151610
6281810
7500110

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.7b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.6b
(+ (* (+ x y) z) (* (+ t y) a))
2.3b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
24.1b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite151.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:
11.0ms
(* (+ x y) z)
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
41.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
89.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series885.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (+ x y) z)
60.0ms
(+ (* (+ x y) z) (* (+ t y) a))
116.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
685.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify91.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
05681186
125261087
250011076

prune495.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 8.7b

localize19.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
(- (* (+ t y) a) (* y b))
1.5b
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
24.1b
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

rewrite78.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)))))
6.0ms
(- (* (+ t y) a) (* y b))
0.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
40.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

series952.0ms

Counts
4 → 12
Calls
4 calls:
673.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
40.0ms
(- (* (+ t y) a) (* y b))
117.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
122.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

simplify86.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04962605
122282401
250022286

prune434.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 3.9b

localize9.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune22.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 3.9b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ (+ x t) y))
1.6b
(+ (* (+ x y) z) (* (+ t y) a))
2.3b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
24.2b
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

rewrite216.0ms

Algorithm
rewrite-expression-head
Rules
62×*-un-lft-identity
33×add-sqr-sqrt
32×times-frac
26×add-cube-cbrt
21×associate-*r* distribute-lft-out
17×add-exp-log
11×add-cbrt-cube add-log-exp
10×associate-*l/
pow1 flip3-+ flip-+
associate-/r*
expm1-log1p-u div-exp frac-add prod-exp associate-/r/ log1p-expm1-u
flip3-- fma-neg associate-*l* prod-diff flip-- associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp diff-log 1-exp sum-log cbrt-unprod div-inv
+-commutative sub-neg pow-flip fma-def frac-2neg associate-*r/ pow-prod-down associate--l+ clear-num un-div-inv *-commutative inv-pow
Counts
4 → 133
Calls
4 calls:
22.0ms
(/ 1 (+ (+ x t) y))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
40.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
143.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

series908.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(/ 1 (+ (+ x t) y))
52.0ms
(+ (* (+ x y) z) (* (+ t y) a))
112.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
676.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

simplify94.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
06061370
129541192
250011143

prune435.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 3.9b

regimes511.0ms

Accuracy

52.1% (11.6b remaining)

Error of 16.1b against oracle of 4.5b and baseline of 28.8b

bsearch135.0ms

Steps
ItersRangePoint
6
3.9715340067303715
33.11368705657117
32.351428127283
9
-8.453534224451103e+117
-6.053704673010924e+111
-7.325403568604485e+114

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03712
13712

end0.0ms

sample1.5s

Algorithm
intervals
Results
1.2s7996×body80valid
1.0msbody640valid
1.0msbody1280valid
0.0msbody320valid