Details

Time bar (total: 9.6s)

sample171.0ms

Algorithm
intervals
Results
98.0ms121×body1280valid
29.0ms66×body640valid
10.0ms256×pre80true
6.0ms18×body320valid
4.0ms38×body80valid
3.0ms13×body160valid

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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.3b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
7.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(+ x (- (tan (+ y z)) (tan a)))
4.0ms
(tan (+ y z))

series297.0ms

Counts
3 → 9
Calls
3 calls:
116.0ms
(- (tan (+ y z)) (tan a))
122.0ms
(+ x (- (tan (+ y z)) (tan a)))
59.0ms
(tan (+ y z))

simplify41.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune159.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
13.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(+ (tan y) (tan z))
17.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))

series925.0ms

Counts
4 → 12
Calls
4 calls:
387.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
95.0ms
(+ (tan y) (tan z))
345.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
97.0ms
(* (tan y) (tan z))

simplify78.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune283.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(* (tan z) (tan z))
0.3b
(* (tan y) (tan y))
5.0b
(/ (- (* (tan y) (tan y)) (* (tan z) (tan z))) (- (tan y) (tan z)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
38×tan-quot
35×*-un-lft-identity
25×add-cube-cbrt
20×pow1 times-frac
12×add-exp-log add-cbrt-cube
11×associate-/l/ difference-of-squares
10×frac-sub
frac-times associate-*r/ associate-*r* associate-*l* associate-*l/
swap-sqr
associate-/r* distribute-lft-out--
associate-/l* add-log-exp
pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod unswap-sqr
pow2 flip3-- pow-plus pow-sqr pow-prod-up flip--
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
4 → 133
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan z) (tan z))
5.0ms
(* (tan y) (tan y))
15.0ms
(/ (- (* (tan y) (tan y)) (* (tan z) (tan z))) (- (tan y) (tan z)))

series396.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(* (tan y) (tan z))
33.0ms
(* (tan z) (tan z))
38.0ms
(* (tan y) (tan y))
230.0ms
(/ (- (* (tan y) (tan y)) (* (tan z) (tan z))) (- (tan y) (tan z)))

simplify74.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05211251
123921138
250011094

prune517.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.1b

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan y) (tan y))
0.6b
(pow (tan z) 6)
5.0b
(/ (- (* (tan y) (tan y)) (cbrt (pow (tan z) 6))) (- (tan y) (tan z)))
11.8b
(cbrt (pow (tan z) 6))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
42×*-un-lft-identity
35×times-frac
32×difference-of-squares
26×add-cube-cbrt
25×cbrt-prod
12×pow1 unpow-prod-down
add-exp-log
add-cbrt-cube distribute-lft-out-- sqr-pow
associate-/l*
tan-quot
associate-/r*
add-log-exp
pow-unpow swap-sqr associate-*r* associate-*l* associate-/r/
flip3-- flip-- associate-/l/
cbrt-undiv pow2 frac-times pow-to-exp pow-pow frac-2neg pow-plus pow1/3 div-sub associate-*r/ div-exp pow-prod-down associate-*l/ pow-exp prod-exp clear-num pow-sqr *-commutative pow-prod-up frac-sub cbrt-unprod div-inv unswap-sqr
Counts
4 → 125
Calls
4 calls:
5.0ms
(* (tan y) (tan y))
3.0ms
(pow (tan z) 6)
16.0ms
(/ (- (* (tan y) (tan y)) (cbrt (pow (tan z) 6))) (- (tan y) (tan z)))
3.0ms
(cbrt (pow (tan z) 6))

series369.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* (tan y) (tan y))
60.0ms
(pow (tan z) 6)
236.0ms
(/ (- (* (tan y) (tan y)) (cbrt (pow (tan z) 6))) (- (tan y) (tan z)))
34.0ms
(cbrt (pow (tan z) 6))

simplify62.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05581534
119661377
250011364

prune526.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.1b

regimes254.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
02419
12419

end0.0ms

sample5.2s

Algorithm
intervals
Results
3.2s3877×body1280valid
929.0ms1986×body640valid
329.0ms8000×pre80true
213.0ms711×body320valid
111.0ms1150×body80valid
57.0ms276×body160valid