Details

Time bar (total: 6.7s)

sample29.0ms

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.0b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
1.5b
(+ (* (+ x y) z) (* (+ t y) a))
2.1b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
22.4b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite48.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:
6.0ms
(* (+ t y) a)
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
10.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
20.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series821.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* (+ t y) a)
48.0ms
(+ (* (+ x y) z) (* (+ t y) a))
104.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
642.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify74.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05641186
125091087
250021077

prune400.0ms

Filtered
117 candidates to 93 candidates (79.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10512117
Fresh000
Picked101
Done000
Total10612118

Merged error: 6.6b

Counts
118 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
0.5b
(fma y (- a b) (* a t))
2.7b
(+ (* (+ x y) z) (fma y (- a b) (* a t)))
22.4b
(/ (+ (* (+ x y) z) (fma y (- a b) (* a t))) (+ (+ x t) y))

rewrite33.0ms

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

series436.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (+ x y) z)
31.0ms
(fma y (- a b) (* a t))
106.0ms
(+ (* (+ x y) z) (fma y (- a b) (* a t)))
277.0ms
(/ (+ (* (+ x y) z) (fma y (- a b) (* a t))) (+ (+ x t) y))

simplify50.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0334876
11269814
25002814

prune302.0ms

Filtered
101 candidates to 75 candidates (74.3%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New983101
Fresh3811
Picked011
Done000
Total10112113

Merged error: 6.6b

Counts
113 → 12

localize15.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.9b
(- (* (+ t y) a) (* y b))
1.0b
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
22.5b
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

rewrite36.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:
14.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
6.0ms
(- (* (+ t y) a) (* y b))
1.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
8.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

series872.0ms

Counts
4 → 12
Calls
4 calls:
627.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
31.0ms
(- (* (+ t y) a) (* y b))
106.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
108.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

simplify74.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04962605
122282401
250022286

prune365.0ms

Filtered
179 candidates to 92 candidates (51.4%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1772179
Fresh1910
Picked011
Done011
Total17813191

Merged error: 4.6b

Counts
191 → 13

localize17.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (* (+ t y) a) (* y b))
0.9b
(/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b))))
1.0b
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
21.4b
(/ (/ 1 (+ (+ x t) y)) (/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b)))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
690×times-frac
502×*-un-lft-identity
292×add-sqr-sqrt add-cube-cbrt
126×distribute-lft-out
48×add-exp-log
38×div-inv
34×div-exp
29×associate-/r/
24×associate-/l*
18×add-cbrt-cube
16×associate-/r*
14×flip3-+ flip-+
cbrt-undiv rec-exp 1-exp
add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
frac-2neg clear-num
sub-neg flip3-- pow-flip fma-neg diff-log prod-diff flip-- fma-udef associate-/l/ inv-pow
Counts
4 → 400
Calls
4 calls:
6.0ms
(- (* (+ t y) a) (* y b))
3.0ms
(/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b))))
1.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
24.0ms
(/ (/ 1 (+ (+ x t) y)) (/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b)))))

series830.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* (+ t y) a) (* y b))
66.0ms
(/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b))))
103.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
630.0ms
(/ (/ 1 (+ (+ x t) y)) (/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b)))))

simplify112.0ms

Algorithm
egg-herbie
Counts
412 → 412
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
015148420
150017758

prune653.0ms

Filtered
412 candidates to 162 candidates (39.3%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New4111412
Fresh01010
Picked101
Done022
Total41213425

Merged error: 4.6b

Counts
425 → 13

regimes618.0ms

Accuracy

84.4% (3.5b remaining)

Error of 8.0b against oracle of 4.5b and baseline of 27.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04331
14331

end0.0ms

sample728.0ms

Algorithm
intervals
Results
451.0ms7998×body80valid
0.0msbody320valid
0.0msbody160valid