Details

Time bar (total: 10.2s)

sample121.0ms

Algorithm
intervals
Results
54.0ms125×body1280valid
18.0ms256×pre80true
16.0ms65×body640valid
2.0ms15×body320valid
2.0ms43×body80valid
1.0msbody160valid

simplify26.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.4b

Counts
2 → 1

localize16.0ms

Local error

Found 3 expressions with local error:

0.1b
(- (tan (+ y z)) (tan a))
0.2b
(+ x (- (tan (+ y z)) (tan a)))
3.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
(- (tan (+ y z)) (tan a))
8.0ms
(+ x (- (tan (+ y z)) (tan a)))
4.0ms
(tan (+ y z))

series340.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0276685
1732540
23057507
35001488

prune244.0ms

Filtered
81 candidates to 59 candidates (72.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New73881
Fresh000
Picked101
Done000
Total74882

Merged error: 0.1b

Counts
82 → 8

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(+ x (- (/ (+ (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))
17.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
20.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
6.0ms
(* (tan y) (tan z))

series1.1s

Counts
4 → 12
Calls
4 calls:
105.0ms
(+ (tan y) (tan z))
440.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
402.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
114.0ms
(* (tan y) (tan z))

simplify87.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06764084
120873388
250013151

prune694.0ms

Filtered
219 candidates to 132 candidates (60.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New20811219
Fresh617
Picked101
Done000
Total21512227

Merged error: 0.0b

Counts
227 → 12

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
321×*-un-lft-identity
237×add-sqr-sqrt
180×prod-diff
172×times-frac
146×add-cube-cbrt
92×associate-+r+
58×difference-of-squares
44×distribute-lft-out
30×fma-neg distribute-lft-out--
14×associate-/r/
11×add-exp-log add-cbrt-cube add-log-exp
flip3-- flip-- div-inv
pow1
expm1-log1p-u log1p-expm1-u
tan-quot fma-def associate-*r* associate-*l* associate-/r*
cbrt-undiv sub-neg diff-log div-exp associate-*l/ prod-exp sum-log cbrt-unprod
+-commutative associate-+r- frac-2neg flip3-+ pow-prod-down clear-num *-commutative frac-sub flip-+ associate-/l/ associate-/l* unswap-sqr
Counts
4 → 295
Calls
4 calls:
28.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
6.0ms
(* (tan y) (sin z))
29.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
7.0ms
(/ (* (tan y) (sin z)) (cos z))

series1.1s

Counts
4 → 12
Calls
4 calls:
459.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
72.0ms
(* (tan y) (sin z))
406.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
117.0ms
(/ (* (tan y) (sin z)) (cos z))

simplify117.0ms

Algorithm
egg-herbie
Counts
307 → 307
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
08047012
125805836
250015650

prune860.0ms

Filtered
307 candidates to 150 candidates (48.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New3052307
Fresh11011
Picked101
Done000
Total30712319

Merged error: 0.0b

Counts
319 → 12

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.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:
8.0ms
(* (+ (tan y) (tan z)) (cos a))
6.0ms
(* (tan y) (tan z))
6.0ms
(* (tan y) (tan z))
17.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series900.0ms

Counts
4 → 12
Calls
4 calls:
163.0ms
(* (+ (tan y) (tan z)) (cos a))
102.0ms
(* (tan y) (tan z))
99.0ms
(* (tan y) (tan z))
535.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify79.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06071365
128351198
250011191

prune450.0ms

Filtered
116 candidates to 91 candidates (78.4%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1160116
Fresh01111
Picked011
Done000
Total11612128

Merged error: 0.0b

Counts
128 → 12

regimes450.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
02620
12620

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.7s3900×body1280valid
550.0ms8000×pre80true
504.0ms2016×body640valid
114.0ms665×body320valid
62.0ms1150×body80valid
32.0ms269×body160valid