Details

Time bar (total: 8.4s)

sample107.0ms

Algorithm
intervals
Results
54.0ms131×body1280valid
14.0ms57×body640valid
11.0ms256×pre80true
3.0ms19×body320valid
2.0ms45×body80valid
0.0msbody160valid

simplify25.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: 15.1b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.6b
(tan (+ y z))

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

series318.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (89.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

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

localize16.0ms

Local error

Found 4 expressions with local error:

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

series1.0s

Counts
4 → 12
Calls
4 calls:
421.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
379.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
102.0ms
(+ (tan y) (tan z))
105.0ms
(* (tan y) (tan z))

simplify87.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06764084
120873388
250013157

prune711.0ms

Filtered
219 candidates to 132 candidates (60.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New20613219
Fresh707
Picked101
Done000
Total21413227

Merged error: 0.0b

Counts
227 → 13

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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:
6.0ms
(* (tan y) (tan z))
6.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
11.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

series432.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(* (tan y) (tan z))
101.0ms
(* (tan y) (tan z))
101.0ms
(* (tan y) (tan z))
128.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

simplify50.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0319802
11443681
25001660

prune521.0ms

Filtered
132 candidates to 83 candidates (62.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1311132
Fresh11112
Picked101
Done000
Total13312145

Merged error: 0.0b

Counts
145 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
10×add-sqr-sqrt
add-cube-cbrt add-log-exp
tan-quot pow1 add-exp-log fma-def add-cbrt-cube
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l*
+-commutative flip3-+ sum-log flip-+ fma-udef distribute-lft-out
frac-times associate-+r+ associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 69
Calls
4 calls:
3.0ms
(+ x (fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a))))
5.0ms
(+ (tan y) (tan z))
1.0ms
(fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a)))
6.0ms
(* (tan y) (tan z))

series880.0ms

Counts
4 → 12
Calls
4 calls:
306.0ms
(+ x (fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a))))
102.0ms
(+ (tan y) (tan z))
369.0ms
(fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a)))
103.0ms
(* (tan y) (tan z))

simplify83.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0318751
1968707
23021704
35001702

prune340.0ms

Filtered
81 candidates to 69 candidates (85.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New74781
Fresh8311
Picked101
Done000
Total831093

Merged error: 0.0b

Counts
93 → 10

regimes304.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
03424
13424

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.7s3816×body1280valid
501.0ms2058×body640valid
321.0ms8000×pre80true
121.0ms695×body320valid
57.0ms1165×body80valid
31.0ms266×body160valid