Details

Time bar (total: 10.8s)

sample33.0ms

Algorithm
intervals
Results
17.0ms256×body80valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
17110
218410
338110
468210
5110210
6212210
7433710
8500110

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
1.4b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.3b
(+ (* (+ x y) z) (* (+ t y) a))
23.9b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite262.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:
19.0ms
(* (+ t y) a)
72.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
15.0ms
(+ (* (+ x y) z) (* (+ t y) a))
151.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series683.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (+ t y) a)
88.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
42.0ms
(+ (* (+ x y) z) (* (+ t y) a))
534.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify66.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05201087
123081025
250031025

prune885.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 9.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
1.4b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.3b
(+ (* (+ x y) z) (* (+ t y) a))
23.9b
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

rewrite315.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:
102.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
68.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
14.0ms
(+ (* (+ x y) z) (* (+ t y) a))
123.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series701.0ms

Counts
4 → 12
Calls
4 calls:
490.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
83.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
42.0ms
(+ (* (+ x y) z) (* (+ t y) a))
86.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

prune983.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 5.1b

localize15.0ms

Local error

Found 4 expressions with local error:

1.1b
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
1.4b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.3b
(+ (* (+ x y) z) (* (+ t y) a))
22.7b
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

rewrite370.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
26×*-un-lft-identity
20×add-cube-cbrt times-frac
17×add-exp-log
15×associate-*r*
11×add-cbrt-cube add-log-exp
10×associate-*l/
pow1 flip3-+ flip-+
associate-*l*
div-exp frac-add prod-exp associate-/r/
flip3-- associate-/r* flip-- distribute-lft-out 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 → 106
Calls
4 calls:
70.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
68.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
14.0ms
(+ (* (+ x y) z) (* (+ t y) a))
215.0ms
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

series266.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
85.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
40.0ms
(+ (* (+ x y) z) (* (+ t y) a))
86.0ms
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

simplify71.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05701403
128571268
250031242

prune775.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 5.1b

localize20.0ms

Local error

Found 4 expressions with local error:

2.3b
(+ (* (+ x y) z) (* (+ t y) a))
23.9b
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
23.9b
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
23.9b
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

rewrite376.0ms

Algorithm
rewrite-expression-head
Rules
94×*-un-lft-identity
45×times-frac
36×distribute-lft-out
34×add-sqr-sqrt add-cube-cbrt
15×associate-/l*
10×add-exp-log add-cbrt-cube
associate-/r*
flip3-+ associate-*l/ flip-+
associate-/r/ associate-/l/ add-log-exp
pow1 frac-add
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
+-commutative sum-log
Counts
4 → 132
Calls
4 calls:
14.0ms
(+ (* (+ x y) z) (* (+ t y) a))
118.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
118.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
121.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series303.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04212151
118302025
250022025

prune2.8s

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 5.1b

regimes616.0ms

Accuracy

44.2% (12.6b remaining)

Error of 17.1b against oracle of 4.5b and baseline of 27.0b

bsearch206.0ms

Steps
ItersRangePoint
2
1.5020433605529676e+140
1.6396378931841617e+140
1.5192426771318668e+140
9
-2.9482391911997282e-95
-9.559948245304189e-102
-2.9165944276875432e-95
7
-2.6650842870887377e-27
-1.1747170166582269e-29
-1.2792503867753462e-29
7
-4.0218020058701393e+49
-1.3475539460780654e+48
-8.9419391595846e+48

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 2 (1.0ms)

IterNodesCost
04830
15130
25714
36014
46614
57714
68414
78514
88514

end0.0ms

sample723.0ms

Algorithm
intervals
Results
450.0ms7998×body80valid
0.0msbody1280valid
0.0msbody320valid