Details

Time bar (total: 13.9s)

sample204.0ms

Algorithm
intervals
Results
95.0ms115×body1280valid
45.0ms82×body640valid
25.0ms256×pre80true
7.0ms23×body320valid
4.0ms29×body80valid
2.0msbody160valid

simplify22.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.6b

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.4b
(tan (+ y z))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
14.0ms
(+ x (- (tan (+ y z)) (tan a)))
9.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series319.0ms

Counts
3 → 9
Calls
3 calls:
138.0ms
(+ x (- (tan (+ y z)) (tan a)))
127.0ms
(- (tan (+ y z)) (tan a))
53.0ms
(tan (+ y z))

simplify103.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune272.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite166.0ms

Algorithm
rewrite-expression-head
Rules
151×*-un-lft-identity
108×prod-diff
107×add-sqr-sqrt
100×add-cube-cbrt
85×times-frac
56×associate-+r+
24×distribute-lft-out
18×fma-neg
14×associate-/r/
13×add-log-exp
flip3-- flip--
tan-quot div-inv
pow1 add-exp-log fma-def add-cbrt-cube
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l* sum-log
+-commutative sub-neg flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 207
Calls
4 calls:
4.0ms
(+ (tan y) (tan z))
88.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
56.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series1.0s

Counts
4 → 12
Calls
4 calls:
105.0ms
(+ (tan y) (tan z))
381.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
424.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
106.0ms
(* (tan y) (tan z))

simplify81.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06764072
120873376
250013265

prune738.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a))
0.2b
(* (tan y) (tan z))
0.3b
(pow (* (tan y) (tan z)) 3)
28.8b
(cbrt (pow (* (tan y) (tan z)) 3))

rewrite178.0ms

Algorithm
rewrite-expression-head
Rules
276×*-un-lft-identity
233×add-sqr-sqrt
161×times-frac
138×prod-diff
114×add-cube-cbrt
98×difference-of-squares
72×cbrt-prod
46×fma-neg
40×distribute-lft-out
34×sqr-pow
17×distribute-lft-out--
13×tan-quot
pow1 add-exp-log add-cbrt-cube
associate-/r/
cube-div add-log-exp
flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
frac-times pow-unpow cbrt-div associate-*r/ associate-*r* associate-*l* associate-*l/
cube-mult unpow-prod-down pow-pow unpow3 cube-prod pow-prod-down pow-exp prod-exp cbrt-unprod rem-cube-cbrt
pow-to-exp sub-neg pow1/3 diff-log *-commutative frac-sub rem-cbrt-cube unswap-sqr
Counts
4 → 274
Calls
4 calls:
144.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a))
5.0ms
(* (tan y) (tan z))
4.0ms
(pow (* (tan y) (tan z)) 3)
3.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

series741.0ms

Counts
4 → 12
Calls
4 calls:
404.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a))
99.0ms
(* (tan y) (tan z))
134.0ms
(pow (* (tan y) (tan z)) 3)
104.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

simplify126.0ms

Algorithm
egg-herbie
Counts
286 → 286
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07926079
129764670
250014635

prune870.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))
2.6b
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

rewrite424.0ms

Algorithm
rewrite-expression-head
Rules
154×*-un-lft-identity
108×prod-diff
107×add-sqr-sqrt
100×add-cube-cbrt
85×times-frac
56×associate-+r+
25×distribute-lft-out
18×fma-neg
17×add-log-exp
14×associate-/r/
flip3-- flip--
div-inv
pow1 add-exp-log add-cbrt-cube
tan-quot exp-prod
expm1-log1p-u sum-log log1p-expm1-u
fma-def diff-log associate-*r* associate-*l* rem-exp-log distribute-lft-out--
associate-+r- sub-neg difference-of-squares
+-commutative frac-times flip3-+ exp-diff associate-*r/ exp-sum pow-prod-down associate-*l/ prod-exp *-commutative frac-sub cbrt-unprod flip-+ unswap-sqr
Counts
4 → 208
Calls
4 calls:
85.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
54.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))
265.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

series1.3s

Counts
4 → 12
Calls
4 calls:
366.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
407.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
97.0ms
(* (tan y) (tan z))
451.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

simplify80.0ms

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06414254
119863535
250023304

prune849.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes508.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02213
12213

end0.0ms

sample5.8s

Algorithm
intervals
Results
3.2s3848×body1280valid
997.0ms2028×body640valid
747.0ms8000×pre80true
241.0ms672×body320valid
160.0ms1178×body80valid
67.0ms274×body160valid