Details

Time bar (total: 10.2s)

sample117.0ms

Algorithm
intervals
Results
56.0ms122×body1280valid
18.0ms256×pre80true
13.0ms54×body640valid
4.0ms23×body320valid
2.0ms48×body80valid
1.0msbody160valid

simplify29.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: 13.4b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.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)))
12.0ms
(- (tan (+ y z)) (tan a))
5.0ms
(tan (+ y z))

series319.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune242.0ms

Filtered
81 candidates to 59 candidates (72.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New711081
Fresh000
Picked101
Done000
Total721082

Merged error: 0.1b

Counts
82 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
165×*-un-lft-identity
115×add-sqr-sqrt
108×add-cube-cbrt prod-diff
97×times-frac
56×associate-+r+
27×distribute-lft-out
18×fma-neg
16×associate-/r/
11×add-log-exp
flip3-- flip--
add-exp-log add-cbrt-cube div-inv
tan-quot
pow1
expm1-log1p-u log1p-expm1-u associate-/l*
fma-def associate-*r* associate-*l* associate-/r* associate-/l/
sub-neg flip3-+ diff-log sum-log flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 227
Calls
4 calls:
19.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
9.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
15.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
9.0ms
(* (tan y) (tan z))

series1.1s

Counts
4 → 12
Calls
4 calls:
370.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
238.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
420.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
105.0ms
(* (tan y) (tan z))

simplify92.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
07044490
122933769
250023667

prune679.0ms

Filtered
239 candidates to 145 candidates (60.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New2309239
Fresh459
Picked101
Done000
Total23514249

Merged error: 0.1b

Counts
249 → 14

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
40×tan-quot
20×add-exp-log add-cbrt-cube
19×frac-times pow-prod-down
13×associate-*r/ associate-*l/
12×add-sqr-sqrt
10×prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
expm1-log1p-u pow-sqr pow-prod-up log1p-expm1-u add-log-exp
*-commutative
pow-plus unswap-sqr
pow2 swap-sqr fma-udef
Counts
4 → 107
Calls
4 calls:
6.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
1.0ms
(fma (/ (+ (tan y) (tan z)) (- (* 1 1) (* (* (tan y) (tan z)) (* (tan y) (tan z))))) (+ 1 (* (tan y) (tan z))) (- (tan a)))
11.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

series1.1s

Counts
4 → 12
Calls
4 calls:
100.0ms
(* (tan y) (tan z))
101.0ms
(* (tan y) (tan z))
808.0ms
(fma (/ (+ (tan y) (tan z)) (- (* 1 1) (* (* (tan y) (tan z)) (* (tan y) (tan z))))) (+ 1 (* (tan y) (tan z))) (- (tan a)))
129.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

simplify63.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04221108
11870953
25002930

prune412.0ms

Filtered
119 candidates to 75 candidates (63.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1163119
Fresh4913
Picked101
Done000
Total12112133

Merged error: 0.0b

Counts
133 → 12

localize38.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
20×pow1 add-exp-log add-cbrt-cube
12×tan-quot add-sqr-sqrt
10×pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
frac-times associate-*l/
sin-mult
expm1-log1p-u associate-*r/ log1p-expm1-u add-log-exp
*-commutative
unswap-sqr
fma-udef
Counts
4 → 85
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (sin y) (sin z))
10.0ms
(* (* (tan y) (tan z)) (* (sin y) (sin z)))
1.0ms
(fma (/ (+ (tan y) (tan z)) (- (* 1 1) (/ (* (* (tan y) (tan z)) (* (sin y) (sin z))) (* (cos y) (cos z))))) (+ 1 (* (tan y) (tan z))) (- (tan a)))

series1.2s

Counts
4 → 12
Calls
4 calls:
104.0ms
(* (tan y) (tan z))
49.0ms
(* (sin y) (sin z))
184.0ms
(* (* (tan y) (tan z)) (* (sin y) (sin z)))
855.0ms
(fma (/ (+ (tan y) (tan z)) (- (* 1 1) (/ (* (* (tan y) (tan z)) (* (sin y) (sin z))) (* (cos y) (cos z))))) (+ 1 (* (tan y) (tan z))) (- (tan a)))

simplify77.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
04651056
12231912
25001911

prune435.0ms

Filtered
97 candidates to 69 candidates (71.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New96197
Fresh11011
Picked011
Done000
Total9712109

Merged error: 0.0b

Counts
109 → 12

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

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.7s3888×body1280valid
542.0ms8000×pre80true
484.0ms1964×body640valid
129.0ms743×body320valid
62.0ms1152×body80valid
32.0ms253×body160valid