Details

Time bar (total: 8.5s)

sample117.0ms

Algorithm
intervals
Results
54.0ms121×body1280valid
17.0ms68×body640valid
17.0ms256×pre80true
6.0ms16×body320valid
2.0ms44×body80valid
1.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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.3b

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

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

series272.0ms

Counts
3 → 9
Calls
3 calls:
111.0ms
(+ x (- (tan (+ y z)) (tan a)))
109.0ms
(- (tan (+ y z)) (tan a))
51.0ms
(tan (+ y z))

simplify86.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune200.0ms

Filtered
81 candidates to 59 candidates (72.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New75681
Fresh000
Picked101
Done000
Total76682

Merged error: 0.0b

Counts
82 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.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:
8.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
20.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
13.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series974.0ms

Counts
4 → 12
Calls
4 calls:
201.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
322.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
363.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
88.0ms
(* (tan y) (tan z))

simplify81.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
07044490
122933769
250023667

prune604.0ms

Filtered
239 candidates to 145 candidates (60.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2363239
Fresh055
Picked101
Done000
Total2378245

Merged error: 0.0b

Counts
245 → 8

localize21.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.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))

rewrite38.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:
7.0ms
(* (+ (tan y) (tan z)) (cos a))
17.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))

series766.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(* (+ (tan y) (tan z)) (cos a))
450.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
87.0ms
(* (tan y) (tan z))
89.0ms
(* (tan y) (tan z))

simplify77.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06071367
128281200
250021193

prune415.0ms

Filtered
116 candidates to 91 candidates (78.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1160116
Fresh077
Picked011
Done000
Total1168124

Merged error: 0.0b

Counts
124 → 8

localize32.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (tan a))
0.6b
(cbrt (tan a))
0.6b
(cbrt (tan a))
59.8b
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
tan-quot cbrt-div pow1/3
fma-udef
Counts
4 → 52
Calls
4 calls:
2.0ms
(cbrt (tan a))
2.0ms
(cbrt (tan a))
2.0ms
(cbrt (tan a))
1.0ms
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

series511.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(cbrt (tan a))
111.0ms
(cbrt (tan a))
110.0ms
(cbrt (tan a))
175.0ms
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

simplify98.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (93.0ms)

IterNodesCost
0102427
1211373
2675363
32633349
45002337

prune320.0ms

Filtered
64 candidates to 57 candidates (89.1%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New64064
Fresh066
Picked011
Done011
Total64872

Merged error: 0.0b

Counts
72 → 8

regimes549.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.2s

Algorithm
intervals
Results
1.7s3887×body1280valid
524.0ms8000×pre80true
492.0ms1994×body640valid
118.0ms709×body320valid
60.0ms1153×body80valid
31.0ms257×body160valid