Details

Time bar (total: 5.7s)

sample30.0ms

Algorithm
intervals
Results
17.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.5b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
2.0b
(+ (* (+ x y) z) (* (+ t y) a))
2.4b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
22.9b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite41.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))
15.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series727.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (+ t y) a)
48.0ms
(+ (* (+ x y) z) (* (+ t y) a))
94.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
565.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify74.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05641186
125091087
250021077

prune345.0ms

Filtered
117 candidates to 93 candidates (79.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New10710117
Fresh000
Picked011
Done000
Total10711118

Merged error: 6.6b

Counts
118 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
2.0b
(+ (* (+ x y) z) (* (+ t y) a))
2.4b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
23.0b
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
27×add-sqr-sqrt
24×associate-*r*
18×add-cube-cbrt
17×times-frac
15×add-exp-log
12×associate-*l/
11×add-cbrt-cube add-log-exp
10×distribute-lft-out
pow1
flip3-+ associate-*l* flip-+
prod-exp
expm1-log1p-u frac-add log1p-expm1-u unswap-sqr
flip3-- fma-neg prod-diff flip-- cbrt-unprod
frac-times diff-log div-exp pow-prod-down sum-log associate-/r/ *-commutative
cbrt-undiv +-commutative sub-neg rec-exp fma-def 1-exp associate-*r/ associate--l+ un-div-inv div-inv
Counts
4 → 113
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))
19.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

series734.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ t y) a)
47.0ms
(+ (* (+ x y) z) (* (+ t y) a))
93.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
573.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

simplify84.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06471224
131421071
250011047

prune335.0ms

Filtered
125 candidates to 94 candidates (75.2%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1250125
Fresh099
Picked011
Done011
Total12511136

Merged error: 6.6b

Counts
136 → 11

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)))))
1.3b
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
1.7b
(- (* (+ t y) a) (* y b))
22.9b
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

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

series775.0ms

Counts
4 → 12
Calls
4 calls:
556.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
94.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
28.0ms
(- (* (+ t y) a) (* y b))
97.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

simplify69.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04962605
122282401
250022286

prune327.0ms

Filtered
179 candidates to 93 candidates (52.0%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New1754179
Fresh268
Picked011
Done022
Total17713190

Merged error: 3.5b

Counts
190 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.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:
3.0ms
(/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b))))
1.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
9.0ms
(- (* (+ t y) a) (* y b))
11.0ms
(* (+ (+ x t) y) (/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b)))))

series280.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b))))
94.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
28.0ms
(- (* (+ t y) a) (* y b))
98.0ms
(* (+ (+ x t) y) (/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b)))))

simplify55.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03861147
118661013
25001981

prune254.0ms

Filtered
115 candidates to 77 candidates (67.0%)
Pruning

13 alts after pruning (9 fresh and 4 done)

PrunedKeptTotal
New1150115
Fresh099
Picked011
Done033
Total11513128

Merged error: 3.5b

Counts
128 → 13

regimes559.0ms

Accuracy

85.9% (3.1b remaining)

Error of 7.4b against oracle of 4.2b and baseline of 26.4b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03632
13632

end0.0ms

sample724.0ms

Algorithm
intervals
Results
450.0ms7996×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid