Details

Time bar (total: 17.1s)

sample179.0ms

Algorithm
intervals
Results
97.0ms131×body1280valid
32.0ms59×body640valid
11.0ms256×pre80true
8.0ms24×body320valid
3.0ms30×body80valid
3.0ms12×body160valid

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

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.8b

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

rewrite24.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:
9.0ms
(+ x (- (tan (+ y z)) (tan a)))
9.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series330.0ms

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

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

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite180.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:
4.0ms
(+ (tan y) (tan z))
56.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
90.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))

series999.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(+ (tan y) (tan z))
414.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
380.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
108.0ms
(* (tan y) (tan z))

simplify85.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06764072
120873376
250013145

prune721.0ms

Filtered
219 candidates to 132 candidates (60.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize31.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 (pow (* (tan y) (tan z)) 3))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
0.3b
(pow (* (tan y) (tan z)) 3)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×tan-quot
11×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
cube-div frac-times pow-unpow associate-*r/ pow-prod-down associate-*l/ prod-exp cbrt-unprod
pow-pow pow-exp *-commutative rem-cube-cbrt unswap-sqr
cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod fma-udef sqr-pow
Counts
4 → 83
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
6.0ms
(* (tan y) (tan z))
0.0ms
(fma (/ (+ (tan y) (tan z)) (- 1 (pow (* (tan y) (tan z)) 3))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
5.0ms
(pow (* (tan y) (tan z)) 3)

series3.4s

Counts
4 → 12
Calls
4 calls:
109.0ms
(* (tan y) (tan z))
104.0ms
(* (tan y) (tan z))
3.0s
(fma (/ (+ (tan y) (tan z)) (- 1 (pow (* (tan y) (tan z)) 3))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
135.0ms
(pow (* (tan y) (tan z)) 3)

simplify67.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0427935
12124871
25001870

prune591.0ms

Filtered
95 candidates to 72 candidates (75.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize33.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (pow (* (tan y) (tan z)) 3) 3)))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
0.3b
(pow (pow (* (tan y) (tan z)) 3) 3)
0.3b
(pow (* (tan y) (tan z)) 3)
7.9b
(cbrt (pow (pow (* (tan y) (tan z)) 3) 3))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
22×cbrt-prod
21×unpow-prod-down cube-prod
15×cube-div
12×tan-quot
11×add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-exp add-cbrt-cube
pow1 cube-mult unpow3 sqr-pow
pow-unpow
expm1-log1p-u log1p-expm1-u add-log-exp
frac-times pow-to-exp cbrt-div pow-pow associate-*r/ associate-*l/ rem-cube-cbrt
prod-exp
pow1/3 pow-prod-down rem-cbrt-cube cbrt-unprod fma-udef
Counts
4 → 114
Calls
4 calls:
0.0ms
(fma (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (pow (* (tan y) (tan z)) 3) 3)))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
5.0ms
(pow (pow (* (tan y) (tan z)) 3) 3)
4.0ms
(pow (* (tan y) (tan z)) 3)
5.0ms
(cbrt (pow (pow (* (tan y) (tan z)) 3) 3))

series3.7s

Counts
4 → 12
Calls
4 calls:
3.2s
(fma (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (pow (* (tan y) (tan z)) 3) 3)))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
184.0ms
(pow (pow (* (tan y) (tan z)) 3) 3)
138.0ms
(pow (* (tan y) (tan z)) 3)
150.0ms
(cbrt (pow (pow (* (tan y) (tan z)) 3) 3))

simplify108.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
05701293
128431193
250021184

prune549.0ms

Filtered
126 candidates to 70 candidates (55.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.1b

regimes473.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03128
13928
24128
34128

end0.0ms

sample5.2s

Algorithm
intervals
Results
3.1s3879×body1280valid
948.0ms2024×body640valid
376.0ms8000×pre80true
226.0ms683×body320valid
110.0ms1123×body80valid
64.0ms291×body160valid