Details

Time bar (total: 6.0s)

sample45.0ms

Algorithm
intervals
Results
31.0ms256×body80valid

simplify98.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: 25.7b

localize14.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))

rewrite123.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:
9.0ms
(* (+ x y) z)
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
33.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
73.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series762.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (+ x y) z)
46.0ms
(+ (* (+ x y) z) (* (+ t y) a))
96.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
596.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify60.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05231089
123081025
250011025

prune300.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 8.7b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite154.0ms

Algorithm
rewrite-expression-head
Rules
152×*-un-lft-identity
138×times-frac
72×add-sqr-sqrt add-cube-cbrt
48×distribute-lft-out
24×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube add-log-exp
div-exp associate-*l/ associate-/l*
flip3-- flip3-+ flip-- flip-+ div-inv
pow1
cbrt-undiv frac-add
rec-exp frac-2neg diff-log 1-exp clear-num sum-log associate-/l/
+-commutative sub-neg pow-flip associate--l+ inv-pow
Counts
4 → 176
Calls
4 calls:
52.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
31.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
59.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series815.0ms

Counts
4 → 12
Calls
4 calls:
576.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
48.0ms
(+ (* (+ x y) z) (* (+ t y) a))
95.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
96.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify86.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07033190
133552979
250022861

prune362.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 3.9b

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune25.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 3.9b

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

rewrite165.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
32×times-frac
31×add-sqr-sqrt
24×add-cube-cbrt
21×associate-*l* distribute-lft-out
17×add-exp-log
11×add-cbrt-cube add-log-exp
associate-*l/
pow1 flip3-+ flip-+
associate-/r*
div-exp frac-add prod-exp associate-/r/
distribute-rgt-in sub-neg flip3-- distribute-lft-in associate-*r* associate--l+ flip-- associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp diff-log 1-exp associate-*r/ sum-log cbrt-unprod div-inv
+-commutative pow-flip frac-2neg pow-prod-down clear-num *-commutative inv-pow
Counts
4 → 123
Calls
4 calls:
17.0ms
(/ 1 (+ (+ x t) y))
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
32.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
106.0ms
(* (/ 1 (+ (+ x t) y)) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series783.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ 1 (+ (+ x t) y))
49.0ms
(+ (* (+ x y) z) (* (+ t y) a))
96.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
584.0ms
(* (/ 1 (+ (+ x t) y)) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify76.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06101367
130631234
250011202

prune297.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 3.9b

regimes441.0ms

Accuracy

52.1% (11.6b remaining)

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

bsearch106.0ms

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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04013
14013

end0.0ms

sample1.2s

Algorithm
intervals
Results
935.0ms7996×body80valid
1.0msbody640valid
0.0msbody1280valid
0.0msbody320valid