Details

Time bar (total: 7.6s)

sample25.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify100.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: 28.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.2b
(+ (* (+ x y) z) (* (+ t y) a))
1.4b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
26.1b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

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

series721.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (+ x y) z)
44.0ms
(+ (* (+ x y) z) (* (+ t y) a))
92.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
563.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

prune305.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 8.9b

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

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

series787.0ms

Counts
4 → 12
Calls
4 calls:
553.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
47.0ms
(+ (* (+ x y) z) (* (+ t y) a))
93.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
94.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

prune375.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 5.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ (+ x t) y))
1.2b
(+ (* (+ x y) z) (* (+ t y) a))
1.4b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
26.1b
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

rewrite179.0ms

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

series743.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ 1 (+ (+ x t) y))
44.0ms
(+ (* (+ x y) z) (* (+ t y) a))
92.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
552.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

simplify68.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05621271
127681148
250021106

prune301.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 5.2b

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
1.2b
(+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a))
1.4b
(- (+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a)) (* y b))
26.1b
(/ (- (+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite986.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
15×add-sqr-sqrt add-cube-cbrt times-frac
12×associate-*l/ distribute-lft-out
11×add-log-exp
add-exp-log flip3-+ add-cbrt-cube flip-+
associate-/r*
pow1 frac-add
cbrt-prod associate-/l*
flip3-- diff-log sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg pow1/3 div-sub div-exp associate--l+ clear-num div-inv
Counts
4 → 80
Calls
4 calls:
0.0ms
(cbrt z)
38.0ms
(+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a))
334.0ms
(- (+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a)) (* y b))
611.0ms
(/ (- (+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series1.1s

Counts
4 → 12
Calls
4 calls:
171.0ms
(cbrt z)
102.0ms
(+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a))
152.0ms
(- (+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a)) (* y b))
629.0ms
(/ (- (+ (* (* (+ x y) (* (cbrt z) (cbrt z))) (cbrt z)) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify66.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05171549
123351436
250011410

prune280.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 5.2b

regimes532.0ms

Accuracy

84.3% (3.5b remaining)

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

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04133
14133

end0.0ms

sample626.0ms

Algorithm
intervals
Results
354.0ms7998×body80valid
0.0msbody320valid
0.0msbody160valid