Details

Time bar (total: 6.4s)

sample28.0ms

Algorithm
intervals
Results
11.0ms255×body80valid
0.0msbody640valid

simplify105.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: 27.7b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
0.5b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
1.1b
(+ (* (+ x y) z) (* (+ t y) a))
25.9b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite263.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:
20.0ms
(* (+ x y) z)
71.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
14.0ms
(+ (* (+ x y) z) (* (+ t y) a))
154.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series798.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (+ x y) z)
106.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
56.0ms
(+ (* (+ x y) z) (* (+ t y) a))
613.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
05231089
123081025
250011025

prune296.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 7.9b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
0.5b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
1.1b
(+ (* (+ x y) z) (* (+ t y) a))
25.9b
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

rewrite327.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:
107.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
71.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
14.0ms
(+ (* (+ x y) z) (* (+ t y) a))
125.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series861.0ms

Counts
4 → 12
Calls
4 calls:
593.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
105.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
52.0ms
(+ (* (+ x y) z) (* (+ t y) a))
112.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify89.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07033190
133552979
250022861

prune341.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 4.7b

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune12.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 4.7b

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
0.7b
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
1.1b
(+ (* (+ x y) z) (* (+ t y) a))
25.2b
(/ (/ 1 (+ (+ x t) y)) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

rewrite321.0ms

Algorithm
rewrite-expression-head
Rules
762×times-frac
550×*-un-lft-identity
310×add-sqr-sqrt add-cube-cbrt
144×distribute-lft-out
79×associate-/r/
48×add-exp-log
40×div-inv
34×div-exp
24×flip3-- flip-- associate-/l*
21×flip3-+ flip-+
18×associate-/r* add-cbrt-cube
11×add-log-exp
cbrt-undiv rec-exp 1-exp
associate-*l/
pow1
frac-add
frac-2neg diff-log clear-num sum-log
+-commutative sub-neg pow-flip associate--l+ associate-/l/ inv-pow
Counts
4 → 445
Calls
4 calls:
69.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
71.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
14.0ms
(+ (* (+ x y) z) (* (+ t y) a))
134.0ms
(/ (/ 1 (+ (+ x t) y)) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

series801.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
69.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
51.0ms
(+ (* (+ x y) z) (* (+ t y) a))
578.0ms
(/ (/ 1 (+ (+ x t) y)) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

simplify114.0ms

Algorithm
egg-herbie
Counts
457 → 457
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
0184610778
1500110079

prune726.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 4.7b

regimes421.0ms

Accuracy

52.4% (11.6b remaining)

Error of 16.3b against oracle of 4.6b and baseline of 29.1b

bsearch66.0ms

Steps
ItersRangePoint
6
2.7730850617529893e-08
2.6312679778022526e-07
2.570868954028346e-07
7
-1.1338306065556767e+59
-5.419901655373089e+57
-4.013662510187196e+58

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04013
14013

end0.0ms

sample700.0ms

Algorithm
intervals
Results
334.0ms7995×body80valid
0.0msbody640valid
0.0msbody1280valid
0.0msbody160valid