Details

Time bar (total: 9.1s)

sample122.0ms

Algorithm
intervals
Results
54.0ms132×body1280valid
19.0ms58×body640valid
18.0ms256×pre80true
4.0ms25×body320valid
2.0ms32×body80valid
1.0msbody160valid

simplify28.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.3b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
4.8b
(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))

series323.0ms

Counts
3 → 9
Calls
3 calls:
134.0ms
(+ x (- (tan (+ y z)) (tan a)))
128.0ms
(- (tan (+ y z)) (tan a))
61.0ms
(tan (+ y z))

simplify94.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune240.0ms

Filtered
81 candidates to 59 candidates (72.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New681381
Fresh000
Picked101
Done000
Total691382

Merged error: 0.1b

Counts
82 → 13

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))

rewrite61.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:
5.0ms
(+ (tan y) (tan z))
19.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
19.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
6.0ms
(* (tan y) (tan z))

series1.0s

Counts
4 → 12
Calls
4 calls:
104.0ms
(+ (tan y) (tan z))
386.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
422.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
101.0ms
(* (tan y) (tan z))

simplify88.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06764072
120873376
250013265

prune689.0ms

Filtered
219 candidates to 132 candidates (60.3%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New20910219
Fresh5712
Picked101
Done000
Total21517232

Merged error: 0.1b

Counts
232 → 17

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
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))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity
28×add-sqr-sqrt
24×add-cube-cbrt
12×times-frac prod-diff
11×add-log-exp
10×tan-quot distribute-lft-out
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u fma-neg log1p-expm1-u associate-/l*
fma-def flip3-+ associate-*r* associate-*l* associate-/r* flip-+ associate-/l/
flip3-- diff-log frac-add sum-log associate-/r/ frac-sub flip-- distribute-lft-out--
cbrt-undiv +-commutative frac-times sub-neg frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp associate--l+ clear-num *-commutative cbrt-unprod div-inv difference-of-squares unswap-sqr
Counts
4 → 116
Calls
4 calls:
9.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
5.0ms
(+ (tan y) (tan z))
16.0ms
(- (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a))
6.0ms
(* (tan y) (tan z))

series814.0ms

Counts
4 → 12
Calls
4 calls:
236.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
102.0ms
(+ (tan y) (tan z))
375.0ms
(- (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a))
100.0ms
(* (tan y) (tan z))

simplify68.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05291619
119081423
250011404

prune411.0ms

Filtered
128 candidates to 92 candidates (71.9%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1262128
Fresh51116
Picked011
Done000
Total13114145

Merged error: 0.0b

Counts
145 → 14

localize21.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (tan z)) (cbrt (tan z)))
0.6b
(cbrt (tan z))
0.6b
(cbrt (tan z))
0.6b
(cbrt (tan z))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
tan-quot cbrt-div
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
8.0ms
(* (cbrt (tan z)) (cbrt (tan z)))
2.0ms
(cbrt (tan z))
2.0ms
(cbrt (tan z))
2.0ms
(cbrt (tan z))

series544.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(* (cbrt (tan z)) (cbrt (tan z)))
128.0ms
(cbrt (tan z))
127.0ms
(cbrt (tan z))
132.0ms
(cbrt (tan z))

simplify83.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0176527
1546490
22172458
35001454

prune342.0ms

Filtered
99 candidates to 73 candidates (73.7%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New99099
Fresh01212
Picked011
Done011
Total9914113

Merged error: 0.0b

Counts
113 → 14

regimes773.0ms

Accuracy

0% (0.2b 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
01911
11911

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.7s3822×body1280valid
543.0ms8000×pre80true
521.0ms2067×body640valid
124.0ms697×body320valid
60.0ms1119×body80valid
39.0ms295×body160valid