Details

Time bar (total: 7.7s)

sample26.0ms

Algorithm
intervals
Results
12.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: 25.7b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
0.6b
(+ (* (+ x y) z) (* (+ t y) a))
2.1b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
24.0b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

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

series752.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ t y) a)
50.0ms
(+ (* (+ x y) z) (* (+ t y) a))
95.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
587.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify63.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05201087
123081025
250031025

prune326.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 7.4b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (/ (* y b) (+ (+ x t) y)))
0.6b
(+ (* (+ x y) z) (* (+ t y) a))
9.3b
(/ (* y b) (+ (+ x t) y))
22.5b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
21×add-sqr-sqrt times-frac
18×distribute-lft-out
16×add-cube-cbrt associate-*l/
14×flip3-+ flip-+
11×add-exp-log add-cbrt-cube
10×associate-/r*
frac-add associate-/r/ add-log-exp
associate-/l/
pow1 div-inv associate-/l*
cbrt-undiv distribute-rgt-out-- div-exp
frac-2neg clear-num difference-of-squares
+-commutative sub-neg flip3-- diff-log prod-exp sum-log frac-sub flip-- cbrt-unprod distribute-lft-out-- sub-div
Counts
4 → 105
Calls
4 calls:
25.0ms
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (/ (* y b) (+ (+ x t) y)))
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))

series1.0s

Counts
4 → 12
Calls
4 calls:
690.0ms
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (/ (* y b) (+ (+ x t) y)))
44.0ms
(+ (* (+ x y) z) (* (+ t y) a))
70.0ms
(/ (* y b) (+ (+ x t) y))
212.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify66.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05621293
126741218
250021218

prune354.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 5.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (/ y (/ (+ (+ x t) y) b)))
0.6b
(+ (* (+ x y) z) (* (+ t y) a))
7.0b
(/ y (/ (+ (+ x t) y) b))
22.5b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
167×*-un-lft-identity
147×times-frac
91×add-sqr-sqrt
70×add-cube-cbrt
51×distribute-lft-out
24×associate-/r*
16×associate-*l/
11×add-exp-log flip3-+ add-cbrt-cube flip-+
frac-add add-log-exp
div-inv associate-/l/ associate-/l* difference-of-squares
pow1 cbrt-undiv div-exp distribute-lft-out--
associate-/r/
frac-2neg clear-num
+-commutative sub-neg flip3-- diff-log sum-log frac-sub flip--
Counts
4 → 175
Calls
4 calls:
62.0ms
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (/ y (/ (+ (+ x t) y) b)))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
9.0ms
(/ y (/ (+ (+ x t) y) b))
13.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

series1.1s

Counts
4 → 12
Calls
4 calls:
683.0ms
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (/ y (/ (+ (+ x t) y) b)))
49.0ms
(+ (* (+ x y) z) (* (+ t y) a))
133.0ms
(/ y (/ (+ (+ x t) y) b))
211.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify84.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07672092
134202016
250012015

prune534.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 2.9b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (* (/ y (+ (+ x t) y)) b))
0.6b
(+ (* (+ x y) z) (* (+ t y) a))
5.4b
(* (/ y (+ (+ x t) y)) b)
22.5b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
31×times-frac
29×add-sqr-sqrt
24×add-cube-cbrt
21×associate-*l* distribute-lft-out
19×associate-*l/
12×flip3-+ flip-+
11×add-exp-log add-cbrt-cube
frac-add add-log-exp
pow1 associate-/l/
associate-/r*
associate-/r/
associate-*r* associate-/l*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv unswap-sqr
+-commutative sub-neg flip3-- frac-2neg diff-log pow-prod-down clear-num sum-log *-commutative frac-sub flip-- sub-div
Counts
4 → 112
Calls
4 calls:
15.0ms
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (* (/ y (+ (+ x t) y)) b))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
10.0ms
(* (/ y (+ (+ x t) y)) b)
17.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

series1.1s

Counts
4 → 12
Calls
4 calls:
679.0ms
(- (/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y)) (* (/ y (+ (+ x t) y)) b))
49.0ms
(+ (* (+ x y) z) (* (+ t y) a))
134.0ms
(* (/ y (+ (+ x t) y)) b)
211.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify68.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06061252
126811177
250031177

prune532.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 2.9b

regimes426.0ms

Accuracy

14.7% (18.0b remaining)

Error of 20.9b against oracle of 3.0b and baseline of 24.0b

bsearch286.0ms

Steps
ItersRangePoint
7
1.1872151958164856e+29
2.8126584417648923e+31
7.017035578887073e+30
8
1.9422239944537146e-100
7.125883875250634e-97
2.4958436030090893e-100
9
3.5115475809882033e-147
4.562536121843358e-141
1.4306594140782865e-141
6
2.839279512733111e-217
2.3935642177345418e-216
5.110498728313817e-217
10
-4.143085460156962e-30
-5.562026185065248e-43
-2.2002211606234215e-41
9
-9.712280864301115e+136
-6.171297704733054e+128
-1.5434332434121114e+134

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05877
15877

end0.0ms

sample639.0ms

Algorithm
intervals
Results
370.0ms7998×body80valid
0.0msbody1280valid
0.0msbody160valid