Details

Time bar (total: 11.1s)

sample180.0ms

Algorithm
intervals
Results
88.0ms113×body1280valid
41.0ms75×body640valid
12.0ms256×pre80true
7.0ms22×body320valid
4.0ms37×body80valid
2.0msbody160valid

simplify24.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: 14.9b

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))
5.7b
(tan (+ y z))

rewrite22.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:
8.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series565.0ms

Counts
3 → 9
Calls
3 calls:
365.0ms
(+ x (- (tan (+ y z)) (tan a)))
133.0ms
(- (tan (+ y z)) (tan a))
66.0ms
(tan (+ y z))

simplify105.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune253.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (tan y) (tan z)) (cos a))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l/
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
14×tan-quot *-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*l*
associate-*r*
associate-/l/
frac-sub
flip3-- flip--
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
flip3-+ times-frac pow-prod-down frac-add *-commutative flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times associate-*r/ div-exp associate-/r/
frac-2neg div-sub clear-num associate-/r* div-inv distribute-lft-out
Counts
4 → 104
Calls
4 calls:
12.0ms
(* (+ (tan y) (tan z)) (cos a))
22.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))

series909.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(* (+ (tan y) (tan z)) (cos a))
531.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
103.0ms
(* (tan y) (tan z))
104.0ms
(* (tan y) (tan z))

simplify88.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
06071365
128281198
250021191

prune573.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(pow (* (tan y) (tan z)) 3)
28.8b
(cbrt (pow (* (tan y) (tan z)) 3))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
16×tan-quot
14×add-sqr-sqrt
11×pow1 add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
cbrt-prod
cube-div associate-*r* associate-*l*
expm1-log1p-u frac-times associate-*r/ associate-*l/ log1p-expm1-u add-log-exp
pow-unpow cbrt-div pow-prod-down prod-exp cbrt-unprod
cube-mult unpow-prod-down pow-pow unpow3 cube-prod pow-exp *-commutative rem-cube-cbrt unswap-sqr sqr-pow
pow-to-exp pow1/3 rem-cbrt-cube
Counts
4 → 95
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
4.0ms
(pow (* (tan y) (tan z)) 3)
3.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

series503.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(* (tan y) (tan z))
120.0ms
(* (tan y) (tan z))
153.0ms
(pow (* (tan y) (tan z)) 3)
110.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

simplify56.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0273536
11362521
25003519

prune568.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
49×pow1
44×tan-quot
22×add-exp-log add-cbrt-cube
20×frac-times pow-prod-down
16×add-sqr-sqrt
14×associate-*r/ associate-*l/
11×prod-exp cbrt-unprod
10×add-cube-cbrt *-un-lft-identity associate-*r* associate-*l*
expm1-log1p-u pow-sqr *-commutative pow-prod-up log1p-expm1-u add-log-exp
unswap-sqr
pow-plus
pow2 swap-sqr
Counts
4 → 120
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
8.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
22.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

series483.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(* (tan y) (tan z))
113.0ms
(* (tan y) (tan z))
114.0ms
(* (tan y) (tan z))
143.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

simplify54.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0319802
11443681
25001660

prune541.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

regimes709.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03022
13022

end0.0ms

sample5.3s

Algorithm
intervals
Results
3.1s3876×body1280valid
917.0ms1968×body640valid
396.0ms8000×pre80true
217.0ms689×body320valid
116.0ms1165×body80valid
63.0ms302×body160valid