Details

Time bar (total: 7.0s)

sample25.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify98.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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.4b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.3b
(+ (* (+ x y) z) (* (+ t y) a))
2.8b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
24.8b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite122.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:
10.0ms
(* (+ x y) z)
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
32.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
72.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series734.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (+ x y) z)
45.0ms
(+ (* (+ x y) z) (* (+ t y) a))
95.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
572.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify62.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05231089
123081025
250011025

prune342.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 7.6b

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.3b
(+ (* (+ x y) z) (* (+ t y) a))
2.8b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
24.9b
(/ (+ (+ 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:
51.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))
58.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series801.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07033190
133552979
250022861

prune415.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 4.1b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (+ x t) y) (+ (+ (* (+ x y) z) (* (+ t y) a)) (- (* y b)))))
1.3b
(+ (* (+ x y) z) (* (+ t y) a))
2.8b
(+ (+ (* (+ x y) z) (* (+ t y) a)) (- (* y b)))
24.9b
(/ (+ (+ x t) y) (+ (+ (* (+ x y) z) (* (+ t y) a)) (- (* y b))))

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
241×*-un-lft-identity
178×times-frac
90×distribute-lft-out
82×add-sqr-sqrt add-cube-cbrt
30×associate-/r*
17×add-exp-log
16×add-log-exp
12×flip3-+ flip-+
11×associate-/r/ add-cbrt-cube
div-exp associate-*l/ associate-/l*
sum-log
div-inv
pow1
cbrt-undiv frac-add
+-commutative rec-exp frac-2neg 1-exp neg-log clear-num associate-/l/
neg-sub0 associate-+r- associate-+l+ pow-flip unsub-neg inv-pow
Counts
4 → 207
Calls
4 calls:
50.0ms
(/ 1 (/ (+ (+ x t) y) (+ (+ (* (+ x y) z) (* (+ t y) a)) (- (* y b)))))
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
23.0ms
(+ (+ (* (+ x y) z) (* (+ t y) a)) (- (* y b)))
59.0ms
(/ (+ (+ x t) y) (+ (+ (* (+ x y) z) (* (+ t y) a)) (- (* y b))))

series785.0ms

Counts
4 → 12
Calls
4 calls:
552.0ms
(/ 1 (/ (+ (+ x t) y) (+ (+ (* (+ x y) z) (* (+ t y) a)) (- (* y b)))))
45.0ms
(+ (* (+ x y) z) (* (+ t y) a))
93.0ms
(+ (+ (* (+ x y) z) (* (+ t y) a)) (- (* y b)))
95.0ms
(/ (+ (+ x t) y) (+ (+ (* (+ x y) z) (* (+ t y) a)) (- (* y b))))

simplify99.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07293804
137223477
250013313

prune412.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 4.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ (+ x t) y))
1.3b
(+ (* (+ x y) z) (* (+ t y) a))
2.8b
(+ (+ (* (+ x y) z) (* (+ t y) a)) (- (* y b)))
24.9b
(* (/ 1 (+ (+ x t) y)) (+ (+ (* (+ x y) z) (* (+ t y) a)) (- (* y b))))

rewrite151.0ms

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

series751.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ 1 (+ (+ x t) y))
44.0ms
(+ (* (+ x y) z) (* (+ t y) a))
94.0ms
(+ (+ (* (+ x y) z) (* (+ t y) a)) (- (* y b)))
557.0ms
(* (/ 1 (+ (+ x t) y)) (+ (+ (* (+ x y) z) (* (+ t y) a)) (- (* y b))))

simplify90.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
07111400
143591242
250021209

prune331.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 4.1b

regimes662.0ms

Accuracy

85.9% (3.1b remaining)

Error of 7.5b against oracle of 4.5b and baseline of 26.4b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04133
14333
24333

end0.0ms

sample620.0ms

Algorithm
intervals
Results
352.0ms8000×body80valid