Details

Time bar (total: 5.3s)

sample24.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify104.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
17110
218410
338110
468210
5110210
6212210
7433710
8500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.7b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
1.1b
(+ (* (+ x y) z) (* (+ t y) a))
2.1b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
25.0b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite42.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
11×add-log-exp
10×associate-*l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
pow1
associate-/r*
associate-*l* frac-add
associate-*r* associate-/l*
flip3-- diff-log sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg div-sub div-exp pow-prod-down prod-exp associate--l+ clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 90
Calls
4 calls:
6.0ms
(* (+ t y) a)
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
17.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series754.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (+ t y) a)
46.0ms
(+ (* (+ x y) z) (* (+ t y) a))
98.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
585.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify65.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05201087
123081025
250031025

prune333.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.4b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
1.1b
(+ (* (+ x y) z) (* (+ t y) a))
9.0b
(/ (* y b) (+ (+ x t) y))
23.4b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity
20×add-sqr-sqrt times-frac
19×distribute-lft-out
18×add-cube-cbrt associate-*l/
13×add-exp-log flip3-+ add-cbrt-cube flip-+
10×associate-/r*
frac-add
pow1 associate-/l/ add-log-exp
associate-*l* associate-/r/ associate-/l*
cbrt-undiv div-exp associate-*r*
frac-2neg prod-exp clear-num cbrt-unprod div-inv
+-commutative pow-prod-down sum-log *-commutative unswap-sqr
Counts
4 → 106
Calls
4 calls:
9.0ms
(* (+ t y) a)
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
8.0ms
(/ (* y b) (+ (+ x t) y))
13.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

series346.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (+ t y) a)
43.0ms
(+ (* (+ x y) z) (* (+ t y) a))
69.0ms
(/ (* y b) (+ (+ x t) y))
209.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify65.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0535998
12664922
25002922

prune340.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.7b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ b (+ (+ x t) y))
1.1b
(+ (* (+ x y) z) (* (+ t y) a))
8.3b
(* y (/ b (+ (+ x t) y)))
23.4b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
89×*-un-lft-identity
46×times-frac
39×add-sqr-sqrt
34×add-cube-cbrt
33×distribute-lft-out
21×associate-*r*
16×associate-*l/
13×add-exp-log flip3-+ add-cbrt-cube flip-+
10×associate-/r*
frac-add
pow1 associate-/r/ associate-/l/ associate-/l* add-log-exp
cbrt-undiv div-exp associate-*l* div-inv
frac-2neg prod-exp clear-num cbrt-unprod unswap-sqr
+-commutative associate-*r/ pow-prod-down sum-log *-commutative
Counts
4 → 135
Calls
4 calls:
7.0ms
(/ b (+ (+ x t) y))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
11.0ms
(* y (/ b (+ (+ x t) y)))
13.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

series356.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ b (+ (+ x t) y))
48.0ms
(+ (* (+ x y) z) (* (+ t y) a))
66.0ms
(* y (/ b (+ (+ x t) y)))
207.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify74.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05491202
127051118
250011118

prune409.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 1.9b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (+ x t) y) (+ (* (+ x y) z) (* (+ t y) a))))
1.1b
(+ (* (+ x y) z) (* (+ t y) a))
8.3b
(* y (/ b (+ (+ x t) y)))
23.5b
(/ (+ (+ x t) y) (+ (* (+ x y) z) (* (+ t y) a)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
181×*-un-lft-identity
166×times-frac
91×add-sqr-sqrt
86×add-cube-cbrt
57×distribute-lft-out
48×associate-*l/
33×associate-/r/
32×flip3-+ flip-+
28×associate-/r*
24×frac-add
22×add-exp-log
21×associate-*r*
16×add-cbrt-cube
div-exp
associate-/l*
pow1 div-inv
add-log-exp
cbrt-undiv
associate-*l*
rec-exp frac-2neg 1-exp prod-exp clear-num cbrt-unprod associate-/l/ unswap-sqr
+-commutative pow-flip associate-*r/ pow-prod-down sum-log *-commutative inv-pow
Counts
4 → 222
Calls
4 calls:
16.0ms
(/ 1 (/ (+ (+ x t) y) (+ (* (+ x y) z) (* (+ t y) a))))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
11.0ms
(* y (/ b (+ (+ x t) y)))
16.0ms
(/ (+ (+ x t) y) (+ (* (+ x y) z) (* (+ t y) a)))

series402.0ms

Counts
4 → 12
Calls
4 calls:
221.0ms
(/ 1 (/ (+ (+ x t) y) (+ (* (+ x y) z) (* (+ t y) a))))
44.0ms
(+ (* (+ x y) z) (* (+ t y) a))
70.0ms
(* y (/ b (+ (+ x t) y)))
67.0ms
(/ (+ (+ x t) y) (+ (* (+ x y) z) (* (+ t y) a)))

simplify103.0ms

Algorithm
egg-herbie
Counts
234 → 234
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
08513316
143413079
250012949

prune494.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 1.8b

regimes439.0ms

Accuracy

36% (11.0b remaining)

Error of 14.1b against oracle of 3.1b and baseline of 20.3b

bsearch112.0ms

Steps
ItersRangePoint
9
10143254612676.482
6.489248303168098e+19
8.712766377130586e+17
8
-1.878324897001481e+62
-8.915797961682768e+57
-9.092415172017545e+57

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04328
14328

end0.0ms

sample609.0ms

Algorithm
intervals
Results
347.0ms7999×body80valid
0.0msbody1280valid