Details

Time bar (total: 11.8s)

sample206.0ms

Algorithm
intervals
Results
103.0ms119×body1280valid
34.0ms62×body640valid
21.0ms256×pre80true
11.0ms17×body160valid
6.0ms17×body320valid
5.0ms41×body80valid

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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

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

series311.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune248.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

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

rewrite159.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:
84.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
3.0ms
(+ (tan y) (tan z))
54.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series991.0ms

Counts
4 → 12
Calls
4 calls:
375.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
99.0ms
(+ (tan y) (tan z))
414.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
102.0ms
(* (tan y) (tan z))

simplify84.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06764072
120873376
250013265

prune699.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (tan y) (tan z) 1)
0.2b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))

rewrite36.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:
0.0ms
(fma (tan y) (tan z) 1)
21.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))

series447.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(fma (tan y) (tan z) 1)
131.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
101.0ms
(* (tan y) (tan z))
101.0ms
(* (tan y) (tan z))

simplify51.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0340741
11492625
25001604

prune511.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize30.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (tan z)) (cbrt (tan z)))
0.6b
(cbrt (tan z))
0.6b
(cbrt (tan z))
0.6b
(cbrt (tan z))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
tan-quot cbrt-div
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
8.0ms
(* (cbrt (tan z)) (cbrt (tan z)))
5.0ms
(cbrt (tan z))
1.0ms
(cbrt (tan z))
1.0ms
(cbrt (tan z))

series552.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(* (cbrt (tan z)) (cbrt (tan z)))
136.0ms
(cbrt (tan z))
130.0ms
(cbrt (tan z))
132.0ms
(cbrt (tan z))

simplify79.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0176527
1546490
22172458
35001454

prune528.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes271.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
03432
14232
24432
34432

end0.0ms

sample6.4s

Algorithm
intervals
Results
3.5s3897×body1280valid
1.3s2025×body640valid
656.0ms8000×pre80true
269.0ms670×body320valid
141.0ms1122×body80valid
75.0ms286×body160valid